I tried to install with the command "pyenv install 3.7.0" and getting the error as follows
Downloading Python-3.7.0.tar.xz...
-> https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz
Installing Python-3.7.0...
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems
BUILD FAILED (Ubuntu 14.04 using python-build 20180424)
I have checked with the solutions from https://github.com/pyenv/pyenv/wiki/Common-build-problems and tried
CFLAGS=-I/usr/include/openssl \
LDFLAGS=-L/usr/lib64 \
pyenv install -v 3.7.0
Again I am facing the same error as
The Python ssl extension was not compiled. Missing the OpenSSL lib?
Also tried to install python versions less than 3.7 which all are installed without error. Is there any dependent package or version update that I am missing here. I have openssl version
OpenSSL 1.0.1f 6 Jan 2014
brew install python
orbrew upgrade python
? I did and it appears to install dependencies gdbm, openssl, sqlite. It is currently python 3.7.2 though so maybe this was an issue previously – Sadonia