Use venv pip directly instead of sourcing activate
This commit is contained in:
1 parent
5deb059439
commit
631beaaed2
1 file changed
+3
-4
@@ -51,12 +51,11 @@ else
|
||||
echo "Virtual environment already exists at .venv/"
|
||||
fi
|
||||
|
||||
# Activate and install dependencies
|
||||
# Install dependencies using venv's pip directly
|
||||
echo ""
|
||||
echo "Installing dependencies..."
|
||||
source "$VENV_DIR/bin/activate"
|
||||
pip install --upgrade pip > /dev/null 2>&1
|
||||
pip install -r "$SCRIPT_DIR/requirements.txt"
|
||||
"$VENV_DIR/bin/pip" install --upgrade pip > /dev/null 2>&1
|
||||
"$VENV_DIR/bin/pip" install -r "$SCRIPT_DIR/requirements.txt"
|
||||
|
||||
echo ""
|
||||
echo "=== Setup Complete ==="
|
||||
|
||||
Reference in new issue
Block a user