Prefer the locally installed conda over any global conda installation

This commit is contained in:
cmdr2 2022-10-13 11:01:09 +05:30 committed by tildebyte
parent da012e1bfd
commit a9a59a3046
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ if "%PACKAGES_TO_INSTALL%" NEQ "" (
call "%MAMBA_ROOT_PREFIX%\micromamba.exe" install -y --prefix "%INSTALL_ENV_DIR%" -c conda-forge %PACKAGES_TO_INSTALL%
)
set PATH=%PATH%;%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts
set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH%
@rem get the repo (and load into the current directory)
if not exist ".git" (

View File

@ -4,7 +4,7 @@
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
set INSTALL_ENV_DIR=%cd%\installer_files\env
set PATH=%PATH%;%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts
set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH%
call conda activate invokeai

View File

@ -4,7 +4,7 @@
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
set INSTALL_ENV_DIR=%cd%\installer_files\env
set PATH=%PATH%;%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts
set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH%
@rem update the repo
if exist ".git" (