Unable to get this beast installed locked at installing torch info below. #3529
Unanswered
TheMindExpansionNetwork
asked this question in
Q&A
Replies: 1 comment
-
The I'm not familiar with python or pip stuff but a quick google told me to try use this command |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
venv "C:\SD\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 6bd6154
Installing torch and torchvision
Traceback (most recent call last):
File "C:\SD\stable-diffusion-webui\launch.py", line 205, in
prepare_enviroment()
File "C:\SD\stable-diffusion-webui\launch.py", line 148, in prepare_enviroment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "C:\SD\stable-diffusion-webui\launch.py", line 33, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "C:\SD\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
Error code: 2
stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
Collecting torch==1.12.1+cu113
Using cached https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp310-cp310-win_amd64.whl (2143.8 MB)
Collecting torchvision==0.13.1+cu113
Using cached https://download.pytorch.org/whl/cu113/torchvision-0.13.1%2Bcu113-cp310-cp310-win_amd64.whl (4.7 MB)
Requirement already satisfied: typing-extensions in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from torch==1.12.1+cu113) (4.4.0)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Requirement already satisfied: numpy in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from torchvision==0.13.1+cu113) (1.23.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from torchvision==0.13.1+cu113) (9.2.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.13.1+cu113) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.13.1+cu113) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.13.1+cu113) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\sd\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision==0.13.1+cu113) (2022.9.24)
Installing collected packages: torch, requests, torchvision
stderr: ERROR: Exception:
Traceback (most recent call last):
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\cli\base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\cli\req_command.py", line 247, in wrapper
return func(self, options, args)
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\commands\install.py", line 461, in run
installed = install_given_reqs(
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\req_init_.py", line 73, in install_given_reqs
requirement.install(
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\req\req_install.py", line 790, in install
install_wheel(
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\operations\install\wheel.py", line 727, in install_wheel
_install_wheel(
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\operations\install\wheel.py", line 587, in _install_wheel
file.save()
File "C:\SD\stable-diffusion-webui\venv\lib\site-packages\pip_internal\operations\install\wheel.py", line 388, in save
shutil.copyfileobj(f, dest)
File "C:\Users\WeThe\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 195, in copyfileobj
buf = fsrc_read(length)
File "C:\Users\WeThe\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 925, in read
data = self._read1(n)
File "C:\Users\WeThe\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1015, in _read1
self._update_crc(data)
File "C:\Users\WeThe\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 943, in _update_crc
raise BadZipFile("Bad CRC-32 for file %r" % self.name)
zipfile.BadZipFile: Bad CRC-32 for file 'torch/lib/cublas64_11.dll'
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: C:\SD\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Press any key to continue . . .
I get this every time I attempt to launch with an anaconda.
Python is 10.6
Just not sure what I am missing.
Please let me know anymore information is needed.
Beta Was this translation helpful? Give feedback.
All reactions