stable-diffusion-webui
stable-diffusion-webui copied to clipboard
ERROR: Cannot activate python venv, aborting...
it gives me the error
ERROR: Cannot activate python venv, aborting...
To Reproduce Steps to reproduce the behavior:
- execute
sudo bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
Expected behavior Installing the programming
Screenshots
Desktop (please complete the following information):
- OS: linux popOs
- Browser firefox
- Commit revision acedbe67d2b8a3af99ca3b9a2f809e7a2db285d1
I agree (Ubento 20.04 LTS)
same issue ubuntu 20 with all dependencies installed
I had this same issue. I don't know why, but there was a "venv" directory that I guess was causing the issue, because once I deleted it the script started working. I got this idea from this comment: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3498#issuecomment-1292682764
I forgot to post that this is working for me now. I was trying to follow too many different readmes.
I had this same issue. I don't know why, but there was a "venv" directory that I guess was causing the issue, because once I deleted it the script started working. I got this idea from this comment: #3498 (comment)
This worked for me. Thank you!
I got no bin sub-folder in venv
apt install python3.10-venv
work for me!
Install the correct version of python3-venv package
apt install python3.10-venv
work for me!Install the correct version of python3-venv package
pretty sure that was a part of what I did eventually, but also had to install some visual C++ redistributable thingy
I had this same issue. I don't know why, but there was a "venv" directory that I guess was causing the issue, because once I deleted it the script started working. I got this idea from this comment: #3498 (comment)
Appreciate! Problem solved.
For numbnuts like myself who wonder where to look for that venv
directory after a failed installation:
cd /home/$(whoami)/stable-diffusion-webui/
If anyone encounter the problem in the first try, resolve the issue and delete the /home/$(whoami)/stable-diffusion-webui/
and give it another try, then it will work.
cd
into the clone dir and running virtualenv venv
fixed my issue.
cd into the clone dir and running
apt install python3.10-venv
python3.10 -m venv venv
it is work for me
this is an old issue which is fixed and no longer seems relevant, if this issue is related to future issues, please refer to this previous one.
removing the venv folder and trying again solved it for me, thanks!