I am trying to install Python 2.7.8 and Python 3.6.7 using Pyenv but I have always the same problem:
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? BUILD FAILED (Ubuntu 18.04 using python-build 20180424) Inspect or clean up the working tree at /tmp/python-build.20190531162212.22464 Results logged to /tmp/python-build.20190531162212.22464.log Last 10 log lines: install|*) ensurepip="" ;; \ esac; \ ./python -E -m ensurepip \ $ensurepip --root=/ ; \
I have tried all the possibilities in the pyenv common problems and changed the OPENSSL version.