Last active
September 2, 2016 20:40
-
-
Save paulochf/80babb1e6e350b72e9ba to your computer and use it in GitHub Desktop.
Installing pyenv + virtualenv + Python 3.4.3 + new environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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