在一台centos6机器上安装了git后,使用
$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv安装pyenv时,出现错误
fatal: HTTP request failed,
再尝试了下curl:
$ curl https://github.com/pyenv/pyenv.git
curl: (35) SSL connect error
解决方法:更新下curl
$ yum update -y nss curl libcurl
DONE!