Update pip before installing

This commit is contained in:
jhj0517
2024-10-22 23:57:04 +09:00
parent 8dc115b6bb
commit f458c92219
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ echo checked the venv folder. now installing requirements..
call "%~dp0\venv\scripts\activate"
python -m pip install -U pip
pip install -r requirements.txt
if errorlevel 1 (

View File

@@ -7,6 +7,7 @@ fi
source venv/bin/activate
python -m pip install -U pip
pip install -r requirements.txt && echo "Requirements installed successfully." || {
echo ""
echo "Requirements installation failed. Please remove the venv folder and run the script again."