Skip to content

Tag: pyenv

How to upgrade version of pyenv on Ubuntu

I wanted to install python 3.10 but that version is not available on pyenv version list. checked by pyenv install –list. People suggested to upgrade pyenv that but I do not see help related to updating pyenv. Answer pyenv isn’t really ‘installed’ in a traditional sense, it’s just…

Python 2.7.12 on Ubuntu 20.04 in PyEnv

I have some legacy websites that run on Python 2.7.12 and have just updated my dev machine to Ubuntu 20.04. I am trying to get PyEnv to install Python 2.7.12, but it seems that this depends on libssl1.0-dev which has been dropped in Ubuntu 20.04. I get error: Following advice here I run: I get error: E: Packa…

Failed to activate virtualenv with pyenv

I run: And I get: I am trying to follow this tutorial: https://tutorials.technology/tutorials/59-Start-a-flask-project-from-zero-building-api-rest.html Other info: I recently made my .bash_profile it contains: What should I do to properly start virtualenv? Answer That should be in .bashrc, not .bash_profile. …