Report the python version after activating the SD environment, that log is not very useful otherwise

This commit is contained in:
cmdr2 2022-10-26 16:00:21 +05:30
parent 85de6dd52e
commit 7b9d18caea
6 changed files with 16 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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