diff --git a/scripts/Developer Console.cmd b/scripts/Developer Console.cmd index 6b70b54f..544ec09b 100644 --- a/scripts/Developer Console.cmd +++ b/scripts/Developer Console.cmd @@ -16,9 +16,6 @@ echo "Environment Info:" call where git call git --version -call where python -call python --version - call where conda call conda --version @@ -27,4 +24,9 @@ echo. @rem activate the environment call conda activate .\stable-diffusion\env +call where python +call python --version + +echo. + cmd /k diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index 428da218..7f7d0539 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -15,9 +15,6 @@ if exist "installer_files\env" set PATH=%cd%\installer_files\env;%cd%\installer_ call where git call git --version -call where python -call python --version - call where conda call conda --version diff --git a/scripts/developer_console.sh b/scripts/developer_console.sh index a36c6a14..3b2208ff 100755 --- a/scripts/developer_console.sh +++ b/scripts/developer_console.sh @@ -19,9 +19,6 @@ if [ "$0" == "bash" ]; then which git git --version - which python - python --version - which conda conda --version @@ -32,6 +29,11 @@ if [ "$0" == "bash" ]; then source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains about 'shell not initialized' (needed when running in a script) conda activate ./stable-diffusion/env + + which python + python --version + + echo "" else bash --init-file developer_console.sh fi diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 75395f0a..beddb33a 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -336,6 +336,9 @@ echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt" @cd ..\..\.. @echo PYTHONPATH=%PYTHONPATH% +call where python +call python --version + @cd .. @set SD_UI_PATH=%cd%\ui @cd stable-diffusion diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index 83035e1b..33d32aeb 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -311,6 +311,9 @@ SD_PATH=`pwd` export PYTHONPATH="$SD_PATH:$SD_PATH/env/lib/python3.8/site-packages" echo "PYTHONPATH=$PYTHONPATH" +which python +python --version + cd .. export SD_UI_PATH=`pwd`/ui cd stable-diffusion diff --git a/scripts/start.sh b/scripts/start.sh index e5981434..d46b7f20 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -13,9 +13,6 @@ if [ -e "installer_files/env" ]; then export PATH="$(pwd)/installer_files/env/bi which git git --version -which python -python --version - which conda conda --version