Created
July 2, 2018 07:12
-
-
Save kuguma/8417c15dd0d72801903e123b247e3a19 to your computer and use it in GitHub Desktop.
Pyenv setup
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
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev | |
git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(pyenv init -)"' >> ~/.bashrc | |
source ~/.bashrc | |
pyenv install 3.6.5 | |
pyenv rehash | |
pyenv global 3.6.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment