Skip to content

Instantly share code, notes, and snippets.

@paulochf
Last active September 2, 2016 20:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulochf/80babb1e6e350b72e9ba to your computer and use it in GitHub Desktop.
Save paulochf/80babb1e6e350b72e9ba to your computer and use it in GitHub Desktop.
Installing pyenv + virtualenv + Python 3.4.3 + new environment
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile
pyenv install 3.4.3
mkvirtualenv -p `pyenv which python3` env-py343
# inside project's folder
pip install -U pip setuptools
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment