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]: webui.sh no longer properly installs on ubuntu server 20.04.5 #13383
Comments
Try this: |
Can confirm this issue; |
can also confirm this issue, --skip-torch-cuda-test did not solve the issue for me either. |
From #13236, this seems to be an issue with python < 3.10. A1111 now requires Python 3.10, which is not available for ubuntu 20.04. |
even if you install 3.10.6, from source, the webui.sh still attempts to use 3.8.10. python_cmd="python3" on line 47 of webui.sh |
Hmm very wierd because i install SD on my Ubuntu Server and it was fixed with this command |
Frustratingly, I get this error even if I checkout version 1.5.0, even if I delete the venv folder 😖 |
I am also having issues with this. I was able to get past this error, but I got another error. I documented my process here. |
According to #13236 (comment),
|
This didn't fix the issue for me (it didn't install anything because it said that "Requirement already satisfied"). |
The problem is caused by the venv provided by the script. First, there is a discrepancy between the package version assumed by the Python code in the WebUI and the package version introduced by vennv: the Python code requires httpcore 0.18.0 (as a dependency package required by anyio), but vennv introduces 0.15.0. 0.15.0 is introduced in venv. The Python code itself is written for Python 3.9 or later language features. Disable the settings in webui.sh to use vennv. You can also use the latest version of python3 in pyenv virtualenv to start python3. Don't forget to keep the various packages up-to-date. |
try this: |
Adding |
This fixed the issue for me using version 1.5.2. |
Is there an existing issue for this?
What happened?
The host machine keeps attempting to use python 3.8.10, resulting in a failure to install.
Stack trace:
Pytorch fails to install
This results in having to build the correct python version from source which is not reliable.
Steps to reproduce the problem
Just follow the install instructions from github docs
The text was updated successfully, but these errors were encountered: