This commit is contained in:
unknown
2025-12-15 20:36:01 -08:00
parent 4b2f2472e3
commit 45976d469c
2 changed files with 3 additions and 1 deletions

View File

@@ -401,10 +401,11 @@ if "%CURRENT_ENV%"=="" (
if not exist "%SCRIPT_DIR%\%PYTHON_ENV%" (
echo Creating ./python_env version %PYTHON_VERSION%...
call "%CONDA_HOME%\Scripts\activate.bat"
call conda create --prefix "%SCRIPT_DIR%\%PYTHON_ENV%" python=%PYTHON_VERSION% -y
call conda update -n base -c conda-forge conda
call conda update --all -y
call conda clean --index-cache -y
call conda clean --packages --tarballs -y
call conda create --prefix "%SCRIPT_DIR%\%PYTHON_ENV%" python=%PYTHON_VERSION% -y
call conda activate base
call conda activate "%SCRIPT_DIR%\%PYTHON_ENV%"
call :install_python_packages

View File

@@ -601,6 +601,7 @@ function check_conda {
fi
echo -e "\e[33mCreating ./python_env version $PYTHON_VERSION...\e[0m"
chmod -R u+rwX,go+rX "$SCRIPT_DIR/audiobooks" "$SCRIPT_DIR/tmp" "$SCRIPT_DIR/models"
conda update -n base -c conda-forge conda
conda update --all -y
conda clean --index-cache -y
conda clean --packages --tarballs -y