Skip to content

Instantly share code, notes, and snippets.

@simoncoulton
Created August 1, 2014 01:34
Show Gist options
  • Save simoncoulton/687cfb1fec2dd6af104c to your computer and use it in GitHub Desktop.
Save simoncoulton/687cfb1fec2dd6af104c to your computer and use it in GitHub Desktop.
Using pyvenv-3.4 on Trusty Tahr
# pyvenv fails as ensurepip is not available, the following will resolve that issue.
cd /tmp
wget https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz
tar -xvzf Python-3.4.1.tgz
sudo cp -a Python-3.4.1/Lib/ensurepip/ /usr/lib/python3.4
# Now you're free to create your virtualenv
pyvenv-3.4 virtualenv_dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment