rupeshs / fastsdcpu

Fast stable diffusion on CPU
MIT License
1.01k stars 87 forks source link

install.bat not running on windows 11 #185

Closed mrsaadfazal closed 1 month ago

mrsaadfazal commented 1 month ago

Getting this error when i try to run the install.bat Starting FastSD CPU env installation... Python command check :OK Python version: 3.11.7 The system cannot find the path specified. The system cannot find the path specified. FastSD CPU env installation completed. Press any key to continue . . .

mrsaadfazal commented 1 month ago

I resolved the error by uninstalling Python from the Windows Store and opting for a version directly from the official website. The problem stemmed from my system using a Python interpreter from a MinGW installation located within msys64. This setup is more Unix-like and was conflicting with how I expected Windows to handle Python environments.

Originally, the Python path was set to:

C:\msys64\mingw64\bin

Because of this, when I created a virtual environment with python -m venv env, the directory structure looked like this:

After uninstalling this version of Python and installing it from the official website, the issue was resolved. Now, Python is installed at:

C:\Users\userName\AppData\Local\Programs\Python\Python311\python.exe

Everything works as expected now, with the proper directory structure for Python virtual environments on Windows.

rupeshs commented 1 month ago

@mrsaadfazal Thanks for using FastSD CPU