Update pip before installing
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user