diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 60118056..b6d3720f 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -76,7 +76,7 @@ if "%ERRORLEVEL%" EQU "0" ( set PYTHONNOUSERSITE=1 set PYTHONPATH=%INSTALL_ENV_DIR%\lib\site-packages - call >nul pip install --upgrade sdkit || ( + call pip install --upgrade sdkit -q || ( echo "Error updating sdkit" ) ) else ( @@ -93,6 +93,8 @@ if "%ERRORLEVEL%" EQU "0" ( ) ) +python -c "from importlib.metadata import version; print('sdkit version:', version('sdkit'))" + @rem install rich call python ..\scripts\check_modules.py rich if "%ERRORLEVEL%" EQU "0" ( diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index ce898be3..fa6fb11d 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -66,7 +66,7 @@ if python ../scripts/check_modules.py sdkit sdkit.models ldm transformers numpy export PYTHONNOUSERSITE=1 export PYTHONPATH="$INSTALL_ENV_DIR/lib/python3.8/site-packages" - pip install --upgrade sdkit > /dev/null + pip install --upgrade sdkit -q else echo "Installing sdkit: https://pypi.org/project/sdkit/" @@ -80,6 +80,8 @@ else fi fi +python -c "from importlib.metadata import version; print('sdkit version:', version('sdkit'))" + # install rich if python ../scripts/check_modules.py rich; then echo "rich has already been installed."