diff --git a/scripts/Developer Console.cmd b/scripts/Developer Console.cmd index 544ec09b..70e809a3 100644 --- a/scripts/Developer Console.cmd +++ b/scripts/Developer Console.cmd @@ -8,6 +8,8 @@ set PATH=C:\Windows\System32;%PATH% if exist "installer" set PATH=%cd%\installer;%cd%\installer\Library\bin;%cd%\installer\Scripts;%cd%\installer\Library\usr\bin;%PATH% if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%cd%\installer_files\Library\usr\bin;%PATH% +set PYTHONPATH=%cd%\installer;%cd%\installer_files\env + @rem activate the installer env call conda activate diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index 231a6c3d..76af7a35 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -12,6 +12,8 @@ call scripts\bootstrap.bat @rem set new installer's PATH, if it downloaded any packages if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_files\env\Library\bin;%cd%\installer_files\env\Scripts;%cd%\installer_files\Library\usr\bin;%PATH% +set PYTHONPATH=%cd%\installer;%cd%\installer_files\env + @rem Test the bootstrap call where git call git --version