Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My Python environment in 2019
# Installation of a decent editor, emacs
$ sudo apt install emacs
# Prerequisites to build Python
$ sudo apt install make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl
# Installation of pyenv
$ curl https://pyenv.run | bash
# Always use the latest stable version of Python
$ pyenv install 3.7.3
$ pyenv global 3.7.3
# Installation of pipx
$ python -m pip install --user pipx
$ python -m userpath append ~/.local/bin
# Installation of pipenv
$ pipx install pipenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.