Created
August 25, 2020 11:44
-
-
Save sjvrijn/78b00f1b10bb5bd243d13096b4ce3737 to your computer and use it in GitHub Desktop.
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
# Python dependencies | |
sudo apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev | |
# install curl if not already present | |
sudo apt instal curl | |
curl https://pyenv.run | bash | |
# add recommended lines to .bashrc and restart shell | |
echo '' >> ~/.bashrc | |
echo 'export PATH="/home/svrijn/.pyenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(pyenv init -)"' >> ~/.bashrc | |
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc | |
exec $SHELL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment