Skip to content

Commit a510ef7

Browse files
committed
Update scripts that help install a virtual environment
1 parent cd21372 commit a510ef7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

virtualenv_install.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
:: virtualenv commands such as "mkvirtualenv [ENV_NAME]"
44
:: for creating and using Python virtual environments.
55

6-
python -m pip install --upgrade virtualenvwrapper-win
6+
python -m pip install --upgrade pip
7+
python -m pip install virtualenvwrapper-win --force-reinstall
78
echo:
89
echo:
910
echo: *** You may now use virtualenv commands in your command shell. ***

virtualenv_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
[[ $0 != "$BASH_SOURCE" ]] && sourced=1 || sourced=0
88
if [ $sourced = 1 ]
99
then
10-
python -m pip install --upgrade virtualenv
11-
python -m pip install --upgrade virtualenvwrapper
10+
python -m pip install --upgrade pip
11+
python -m pip install virtualenvwrapper --force-reinstall
1212
export WORKON_HOME=$HOME/.virtualenvs
1313
source `which virtualenvwrapper.sh`
1414
echo ""

0 commit comments

Comments
 (0)