Last active
October 25, 2018 20:00
-
-
Save audriusrudalevicius/0b2d883e712791f71dd8b3e8cfb74870 to your computer and use it in GitHub Desktop.
Pyenv install
This file contains 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
sudo apt-get install -y git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev | |
# optional scientific package headers (for Numpy, Matplotlib, SciPy, etc.) | |
sudo apt-get install -y libpng-dev libfreetype6-dev | |
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
# the following to ~/.bashrc: | |
export PATH="~/.pyenv/bin:$PATH" | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" | |
pyenv install 2.7.8 | |
pyenv virtualenv 2.7.8 general | |
pyenv global general |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment