How to install pyenv on Linux 22.04


First see if you have the curl already installed in your machine using the command:

$ curl --version

If you don't have, install the curl using:

$ sudo apt-get install curl

After that install the pyenv using the command:

$curl https://pyenv.run | bash

And after installation update your bashrc adding the lines:

export PATH="~/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

Finally Reload the bashrc:

$ source ~/.bashrc

I think will work fine after that. If you installed the pyenv before, look up at you bashrc to confirm if you added the lines above and reload the bashrc again.







For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]