Ubuntu Pastebin

Paste from muelli at Wed, 9 Sep 2015 20:09:48 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
pip freeze | grep urllib
python -c "import urllib3; print(urllib3.__version__)"
# shows 1.9.1

rm -rf /tmp/venv-no-system
virtualenv /tmp/venv-no-system
/tmp/venv-no-system/bin/pip freeze | grep urllib
/tmp/venv-no-system/bin/pip install --upgrade urllib3
/tmp/venv-no-system/bin/pip freeze | grep urllib
/tmp/venv-no-system/bin/python -c "import urllib3; print(urllib3.__version__)"
# shows 1.12


rm -rf /tmp/venv-with-system
virtualenv --system-site-packages /tmp/venv-with-system
/tmp/venv-with-system/bin/pip freeze | grep urllib
/tmp/venv-with-system/bin/pip install --upgrade urllib3
/tmp/venv-with-system/bin/pip freeze | grep urllib
/tmp/venv-with-system/bin/python -c "import urllib3; print(urllib3.__version__)"
# shows 1.9.1
Download as text