-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG REPORT] The Installation fails #234
Comments
Can you run activate_only.bat, then run the command The cause for the error could be a corrupt torch wheel in |
Hey, thanks a lot for a quick reply. Honestly I'm really new to this and I barely know what's going on. I did like you've said and clicked activate.bat, then I run the command inside: I've got a bunch of messages that requirements are already satisfied but in the end the successful installation message:
Apologies if that's a stupid question, but where do you add the line --no-cache-dir ? After running the command in activate.bat you've showed me the installation still failed displaying the message:
I found the same error on the issue report here: AUTOMATIC1111/stable-diffusion-webui#13659
Whatever that is, it installed successfuly. Not sure if I did that right, but I've opened cmd inside the main audio-webui folder and run those two commands inside. After installation of those pip clip things, and running run.bat it still did not work, I received a similar message to the first one I've posted here but with Exit code:1 instead of Exit code:2, posting the full message:
|
If you ran As for audiocraft, I'm not really sure |
Sadly I still get the same error with the same error code after running:
|
Describe the bug
I can't complete the installation of UI by running run.bat, it always fails.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Intallation fails each time and you can not run audio-ui
Screenshots
Checking installs and venv + autodebug checks
Python version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Webui version: 17c7489 - Wed May 29 16:37:24 2024 +0200
Found extensions:
activating venv
no venv found, creating venv
Checking installs and venv + autodebug checks
Python version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Webui version: 17c7489 - Wed May 29 16:37:24 2024 +0200
Found extensions:
Installed packaging!
Installed wheel!
Installed numpy!
Failed to install PyTorch. Check AutoDebug output.
Install failed!
STDOUT:
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.1.0
Downloading https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp310-cp310-win_amd64.whl (2722.7 MB)
---------------------------------------- 2.7/2.7 GB 579.5 kB/s eta 0:00:00
Collecting torchvision==0.16.0
Downloading https://download.pytorch.org/whl/cu118/torchvision-0.16.0%2Bcu118-cp310-cp310-win_amd64.whl (5.0 MB)
---------------------------------------- 5.0/5.0 MB 22.9 MB/s eta 0:00:00
Collecting torchaudio==2.1.0
Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.1.0%2Bcu118-cp310-cp310-win_amd64.whl (3.9 MB)
---------------------------------------- 3.9/3.9 MB 62.0 MB/s eta 0:00:00
Collecting networkx
Downloading networkx-3.3-py3-none-any.whl (1.7 MB)
---------------------------------------- 1.7/1.7 MB 3.9 MB/s eta 0:00:00
Collecting fsspec
Using cached fsspec-2024.6.1-py3-none-any.whl (177 kB)
Collecting typing-extensions
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting jinja2
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting sympy
Using cached sympy-1.12.1-py3-none-any.whl (5.7 MB)
Collecting filelock
Using cached filelock-3.15.4-py3-none-any.whl (16 kB)
Collecting pillow!=8.3.*,>=5.3.0
Using cached pillow-10.4.0-cp310-cp310-win_amd64.whl (2.6 MB)
Collecting requests
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Requirement already satisfied: numpy in e:\ai15\aivoice!audio webui\audio-webui\venv\lib\site-packages (from torchvision==0.16.0) (1.23.5)
Collecting MarkupSafe>=2.0
Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl (17 kB)
Collecting charset-normalizer<4,>=2
Using cached charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl (100 kB)
Collecting urllib3<3,>=1.21.1
Using cached urllib3-2.2.2-py3-none-any.whl (121 kB)
Collecting idna<4,>=2.5
Using cached idna-3.7-py3-none-any.whl (66 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
---------------------------------------- 163.0/163.0 kB ? eta 0:00:00
Collecting mpmath<1.4.0,>=1.1.0
Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio
STDERR:
ERROR: Exception:
Traceback (most recent call last):
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\cli\base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\cli\req_command.py", line 247, in wrapper
return func(self, options, args)
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\commands\install.py", line 461, in run
installed = install_given_reqs(
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\req_init_.py", line 73, in install_given_reqs
requirement.install(
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\req\req_install.py", line 790, in install
install_wheel(
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\operations\install\wheel.py", line 727, in install_wheel
_install_wheel(
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\operations\install\wheel.py", line 587, in _install_wheel
file.save()
File "E:\AI15\AIVOICE!audio webui\audio-webui\venv\lib\site-packages\pip_internal\operations\install\wheel.py", line 386, in save
with self._zip_file.open(zipinfo) as f:
File "C:\Users\Dibak\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1556, in open
raise BadZipFile(
zipfile.BadZipFile: File name in directory (1980, 1, 1, 0, 0, 0) and header b'torch/include/ATen/ops/_prelu_kernel_cuda_dispatch.h' differ.
[notice] A new release of pip available: 22.2.1 -> 24.1.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Please read the error above carefully.
If you are unsure, please create an issue at https://github.com/gitmylo/audio-webui/issues.
When creating an issue, please include your full autodebug message.
Exit code: 2
Additional context
The text was updated successfully, but these errors were encountered: