mirror of https://github.com/bmaltais/kohya_ss
Install missing packaging module
parent
40a9be6c94
commit
8e61677b7f
3
gui.bat
3
gui.bat
|
|
@ -15,6 +15,9 @@ if errorlevel 1 (
|
|||
call .\venv\Scripts\activate.bat
|
||||
set PATH=%PATH%;%~dp0venv\Lib\site-packages\torch\lib
|
||||
|
||||
echo "Installing packaging python module..."
|
||||
pip install packaging
|
||||
|
||||
:: Validate requirements
|
||||
python.exe .\setup\validate_requirements.py
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
|
|
|||
2
gui.ps1
2
gui.ps1
|
|
@ -28,6 +28,8 @@ if ($env:VIRTUAL_ENV) {
|
|||
& .\venv\Scripts\activate
|
||||
$env:PATH += ";$($MyInvocation.MyCommand.Path)\venv\Lib\site-packages\torch\lib"
|
||||
|
||||
Write-Host "Installing python packaging module..."
|
||||
& pip install packaging
|
||||
# Debug info about system
|
||||
# python.exe .\setup\debug_info.py
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue