pythonpytorchstable-diffusion

Stable Diffusion Error: Couldn't install torch / No matching distribution found for torch==1.12.1+cu113


I am trying to install locally Stable Diffusion. I follow the presented steps but when I get to the last one "run webui-use file" it opens the terminal and it's saying "Press any key to continue...". If I do so the terminal instantly closes. I went to the SB folder, right-clicked open in the terminal and used ./webui-user to run the file. The terminal does not longer close but nothing is happening and I get those two errors:

Couldn't install torch,

No matching distribution found for torch==1.12.1+cu113

I've researched online and I've tried installing the torch version from the error, also I tried pip install --user pipenv==2022.1.8 but I get the same errors.


Solution

  • I had a similar error. What solved the issue was, I installed the 32 bit version of python. I uninstalled and installed the x86-64 bit version. And everything installed just fine. I have version 3.8 installed as i have found out it is the most stable version.

    I downloaded the 64 bit installer from here python 3.8