We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215f879 commit 91c03ddCopy full SHA for 91c03dd
Utilities/Python/setup_python_env.sh
@@ -55,11 +55,6 @@ if [ -d "$VENV_DIR" ]; then
55
read -p "Do you want to reinstall everything? (y/N): " choice
56
case "$choice" in
57
[yY]|[yY][eE][sS])
58
- # Deactivate if active
59
- if [ "$VIRTUAL_ENV" = "$(pwd)/$VENV_DIR" ]; then
60
- echo "Deactivating current virtual environment..."
61
- deactivate
62
- fi
63
echo "Removing old environment..."
64
rm -rf "$VENV_DIR" || error_exit "Failed to remove existing virtual environment"
65
echo "Creating new virtual environment..."
0 commit comments