Ubuntu20.04下使用pyenv安装python3.4
版本信息
Ubuntu 20.04
pyenv 2.0.7-22
直接使用pyenv安装python3.4时会报错
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
需要安装旧版本的OpenSSL才可以安装
echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get install libssl1.0-dev
pyenv install 3.4.10