Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

trying to install pyenv on 22.04 -- missing python-openssl?

Writer Matthew Barrera

E: Unable to locate package python-openssl

Have a fresh install of 22.04 (non-upgrade) and seems I'm running into a ton of issues trying to make my "usual" tools work with Python 3.10.4 that comes bundled with. It's too scary trying to downgrade a bundled Python, much rather use dev tools like venv or pipenv.

RealPython article here says I need to install these build tools, get that (still not sure pipenv will run correctly), but it chokes on openssl. Any reason that is happening? Seems like I ran into an issue with that module earlier on in the 22.04 world but can't recollect exactly where.

The more of this type of issue I run into, the more I question the Ubuntu packagers going with 3.10, I'm sure I could check to see how soon these issues will be resolved on pypi.org or the like, but curious how many of my fellow devs feel like they upgraded the base OS too soon?

4

1 Answer

I got pyenv working on Ubuntu 22.04 (the WSL2 version of 22.04, but still) by installing python3-openssl instead of just python-openssl. Like, by using

sudo apt install python3-openssl

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.