stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

ERROR: Cannot activate python venv, aborting...

Open ranon-rat opened this issue 2 years ago • 13 comments

it gives me the error

ERROR: Cannot activate python venv, aborting...

To Reproduce Steps to reproduce the behavior:

  1. execute sudo bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)

Expected behavior Installing the programming

Screenshots imagen

Desktop (please complete the following information):

  • OS: linux popOs
  • Browser firefox
  • Commit revision acedbe67d2b8a3af99ca3b9a2f809e7a2db285d1

ranon-rat avatar Oct 15 '22 00:10 ranon-rat

I agree (Ubento 20.04 LTS)

LightningStalker avatar Oct 15 '22 19:10 LightningStalker

same issue ubuntu 20 with all dependencies installed

aadityaverma avatar Oct 27 '22 08:10 aadityaverma

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

tlalexander avatar Nov 02 '22 06:11 tlalexander

I forgot to post that this is working for me now. I was trying to follow too many different readmes.

LightningStalker avatar Nov 23 '22 07:11 LightningStalker

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!

SharlSherif avatar Nov 30 '22 00:11 SharlSherif

I got no bin sub-folder in venv

Natotela avatar Dec 11 '22 16:12 Natotela

apt install python3.10-venv work for me!

Install the correct version of python3-venv package

jbarriosmuriel avatar Dec 30 '22 07:12 jbarriosmuriel

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

Natotela avatar Jan 02 '23 16:01 Natotela

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.

Alex-Young1113 avatar Jan 29 '23 16:01 Alex-Young1113

For numbnuts like myself who wonder where to look for that venv directory after a failed installation:

cd /home/$(whoami)/stable-diffusion-webui/

Sphinxxxx avatar Feb 22 '23 04:02 Sphinxxxx

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.

Jeffwan avatar Mar 01 '23 07:03 Jeffwan

cd into the clone dir and running virtualenv venv fixed my issue.

erbanku avatar Mar 20 '23 09:03 erbanku

cd into the clone dir and running

apt install python3.10-venv
python3.10 -m venv venv

it is work for me

h93910 avatar Apr 14 '23 06:04 h93910

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.

ClashSAN avatar May 02 '23 23:05 ClashSAN

removing the venv folder and trying again solved it for me, thanks!

PcChip avatar Jun 20 '23 16:06 PcChip