"The Python ssl extension was not compiled. Missing the OpenSSL lib?" error when installing Python using pyenv
10,796
If the python version you are trying to install is equal or lower than 2.7.12, it does not support OpenSSL1.1.0, so you would need to replace libssl-dev
with libssl1.0-dev
.
Ubuntu 18.04 is the first official release to switch to OpenSSL1.1.0 which is why you might not have been impacted with this in the past.
Reference: https://github.com/pyenv/pyenv/issues/945
Related videos on Youtube
Author by
codehia
Updated on September 18, 2022Comments
-
codehia over 1 year
While installing Python using pyenv, I am getting the following error:
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
I am using Ubuntu 18.04 Bionic Beaver How do I solve this issue?
-
Ciro Santilli OurBigBook.com about 3 years
-
-
codehia about 6 yearsI am still getting the same error. Can you suggest some other solution?