[Help required] Python is strange
HaydenAlt opened this issue · 1 comments
HaydenAlt commented
(I'm new to github so I am basically a noob :/)
So basically, I was trying to setup stable diffusion and this keeps poping up:
Creating venv in directory C:\Users\User\stable-diffusion-webui\venv using python "C:\Users\User\AppData\Local\Programs\Python\Python310\python.exe"
Unable to create venv in directory "C:\Users\User\stable-diffusion-webui\venv"
exit code: 1
stderr:
Error: Command '['C:\\Users\\User\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
I tried deleting the venv folder and reinstalling python, and it wont work. I have python 3.10.6 and git, does anyone know whats wrong?
sharmavaibhav22 commented
- verify the python version installed, if it is the correct and also if the path variable set to the directory is correct
- Also, You can use pipenv to create virtual environments in python. Please find the doc here https://pipenv.pypa.io/en/latest/