install pyenv
# Linux and Mac only (at the moment)
curl https://pyenv.run | bash
install pyenv
# Linux and Mac only (at the moment)
curl https://pyenv.run | bash
pyenv install latest version
pyenv install --list | awk '{print $1}' | grep -v - | grep -v 'a\|b\|c\|m' | tail -1
pyenv install ubuntu
root@ubuntu:~# apt install -y 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\
> git
pyenv version
$ ls ~/.pyenv/versions/
2.7.15 3.6.8 3.8-dev
pyenv version
$ pyenv versions
* system (set by /home/realpython/.pyenv/version)
2.7.15
3.6.8
3.8-dev
install pyenv
You can use below link to install pyenv
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us