$ pyenv install 3.5.2 Installing Python-3.5.2... patching file Lib/venv/scripts/posix/activate.fish WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib? WARNING: The Python readline extension was not compiled. Missing the GNU readline lib? 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/yyuu/pyenv/wiki/Common-build-problems
BUILD FAILED (CentOS Linux 7 using python-build 20160602)
Inspect or clean up the working tree at /tmp/python-build.20161126142627.2850 Results logged to /tmp/python-build.20161126142627.2850.log
Last 10 log lines: (cd /root/.pyenv/versions/3.5.2/share/man/man1; ln -s python3.5.1 python3.1) iftest"xupgrade" != "xno" ; then \ case upgrade in \ upgrade) ensurepip="--upgrade" ;; \ install|*) ensurepip="" ;; \ esac; \ ./python -E -m ensurepip \ $ensurepip --root=/ ; \ fi Ignoring ensurepip failure: pip 8.1.1 requires SSL/TLS