pyvenv-3.3 venvdir
venvdir/bin/python -c 'import sys; print(sys.path)'
# This should print the venvdir in sys.path.
# But in buggy Ubuntu/Debian, it doesn't.
ln -s site-packages venvdir/lib/python3.3/dist-packages
- https://bugs.launchpad.net/ubuntu/+source/python3.3/+bug/1093193
- https://bugs.launchpad.net/ubuntu/+source/python3.3/+bug/1298831
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695758#20
pyvenv-3.4 venvdir
# Returns an error regarding ensurepip command
pyvenv-3.4 --without-pip venvdir
source venvdir/bin/activate
curl https://bootstrap.pypa.io/get-pip.py | python
deactivate
source venvdir/bin/activate