instalar pyenv
# Linux and Mac only (at the moment)
curl https://pyenv.run | bash
Helpful Hummingbird
# Linux and Mac only (at the moment)
curl https://pyenv.run | bash
pyenv install --list | awk '{print $1}' | grep -v - | grep -v 'a\|b\|c\|m' | tail -1
pyenv exec pip install numpy
or
pyenv exec pip --version
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
You can use below link to install pyenv