Install missing packaging module

pull/2057/head
Bernard Maltais 2024-03-10 19:20:57 -04:00
parent 40a9be6c94
commit 8e61677b7f
3 changed files with 9 additions and 0 deletions

View File

@ -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%

View File

@ -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

View File

@ -201,6 +201,10 @@ install_python_dependencies() {
source "$DIR/venv/bin/activate"
fi
# Install packaging
echo "Installing the python packaging module..."
pip install packaging
case "$OSTYPE" in
"lin"*)
if [ "$RUNPOD" = true ]; then