mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Conda deactivation fix
This commit is contained in:
@@ -6,6 +6,13 @@ IF %M%==1 GOTO drivemap
|
||||
IF %M%==2 GOTO subfolder
|
||||
IF %M%==3 GOTO drivemap_B
|
||||
|
||||
:Isolation
|
||||
call conda deactivate 2>NUL
|
||||
set Path=%windir%\system32;%windir%;C:\Windows\System32\Wbem;%windir%\System32\WindowsPowerShell\v1.0\;%windir%\System32\OpenSSH\
|
||||
SET CONDA_SHLVL=
|
||||
SET PYTHONNOUSERSITE=1
|
||||
SET PYTHONPATH=
|
||||
|
||||
:subfolder
|
||||
umamba.exe install --no-shortcuts -r miniconda3 -n base -c conda-forge jupyterlab jupyterlab-git
|
||||
call miniconda3\condabin\activate
|
||||
|
@@ -2,7 +2,7 @@
|
||||
cd /D %~dp0
|
||||
|
||||
:Isolation
|
||||
conda deactivate 2>NUL
|
||||
call conda deactivate 2>NUL
|
||||
set Path=%windir%\system32;%windir%;C:\Windows\System32\Wbem;%windir%\System32\WindowsPowerShell\v1.0\;%windir%\System32\OpenSSH\
|
||||
SET CONDA_SHLVL=
|
||||
SET PYTHONNOUSERSITE=1
|
||||
|
@@ -2,6 +2,8 @@
|
||||
cd /D %~dp0
|
||||
|
||||
:Isolation
|
||||
call conda deactivate 2>NUL
|
||||
set Path=%windir%\system32;%windir%;C:\Windows\System32\Wbem;%windir%\System32\WindowsPowerShell\v1.0\;%windir%\System32\OpenSSH\
|
||||
SET CONDA_SHLVL=
|
||||
SET PYTHONNOUSERSITE=1
|
||||
SET PYTHONPATH=
|
||||
|
@@ -10,7 +10,7 @@ Reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v "LongPathsEnabled"
|
||||
cd /D %~dp0
|
||||
|
||||
:Isolation
|
||||
conda deactivate 2>NUL
|
||||
call conda deactivate 2>NUL
|
||||
set Path=%windir%\system32;%windir%;C:\Windows\System32\Wbem;%windir%\System32\WindowsPowerShell\v1.0\;%windir%\System32\OpenSSH\
|
||||
SET CONDA_SHLVL=
|
||||
SET PYTHONNOUSERSITE=1
|
||||
|
2
play.bat
2
play.bat
@@ -2,7 +2,7 @@
|
||||
cd /D %~dp0
|
||||
|
||||
:Isolation
|
||||
conda deactivate 2>NUL
|
||||
call conda deactivate 2>NUL
|
||||
set Path=%windir%\system32;%windir%;C:\Windows\System32\Wbem;%windir%\System32\WindowsPowerShell\v1.0\;%windir%\System32\OpenSSH\
|
||||
SET CONDA_SHLVL=
|
||||
SET PYTHONNOUSERSITE=1
|
||||
|
@@ -2,7 +2,7 @@
|
||||
cd /d %~dp0
|
||||
|
||||
:Isolation
|
||||
conda deactivate 2>NUL
|
||||
call conda deactivate 2>NUL
|
||||
set Path=%windir%\system32;%windir%;C:\Windows\System32\Wbem;%windir%\System32\WindowsPowerShell\v1.0\;%windir%\System32\OpenSSH\
|
||||
SET CONDA_SHLVL=
|
||||
SET PYTHONNOUSERSITE=1
|
||||
|
Reference in New Issue
Block a user