我正在尝试使用Pyenv安装Python2.7.8和Python3.6.7,但我总是遇到同样的问题:
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=/ ; \我已经尝试了pyenv常见问题中的所有可能性,并更改了OPENSSL版本。
发布于 2019-06-03 21:17:08
我认为所发生的事情是python版本和pyenv python版本之间的路径问题。
您必须通过别名或其他东西将python版本硬编码到.bashrc文件中。
只是:
https://askubuntu.com/questions/1147734
复制相似问题