diff --git a/scripts/Developer Console.cmd b/scripts/Developer Console.cmd index ee1e8d5b..1fc6ebae 100644 --- a/scripts/Developer Console.cmd +++ b/scripts/Developer Console.cmd @@ -12,9 +12,6 @@ if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_ set PYTHONPATH=%cd%\installer;%cd%\installer_files\env -set PYTHON=%cd%\installer_files\env\python.exe -echo PYTHON=%PYTHON% - @rem activate the installer env call conda activate @@ -34,10 +31,14 @@ powershell -Command "(Get-WmiObject Win32_VideoController | Select-Object Name, @rem activate the legacy environment (if present) and set PYTHONPATH if exist "installer_files\env" ( set PYTHONPATH=%cd%\installer_files\env\lib\site-packages + set PYTHON=%cd%\installer_files\env\python.exe + echo PYTHON=%PYTHON% ) if exist "stable-diffusion\env" ( call conda activate .\stable-diffusion\env set PYTHONPATH=%cd%\stable-diffusion\env\lib\site-packages + set PYTHON=%cd%\stable-diffusion\env\python.exe + echo PYTHON=%PYTHON% ) @REM call where python