mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Prefer the locally installed conda over any global conda installation
This commit is contained in:
parent
e405385e0d
commit
1cb365fff1
@ -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%
|
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)
|
@rem get the repo (and load into the current directory)
|
||||||
if not exist ".git" (
|
if not exist ".git" (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
|
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
|
||||||
|
|
||||||
set INSTALL_ENV_DIR=%cd%\installer_files\env
|
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
|
call conda activate invokeai
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
|
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
|
||||||
|
|
||||||
set INSTALL_ENV_DIR=%cd%\installer_files\env
|
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
|
@rem update the repo
|
||||||
if exist ".git" (
|
if exist ".git" (
|
||||||
|
Loading…
Reference in New Issue
Block a user