美文网首页
mac & pip install的时候报错

mac & pip install的时候报错

作者: lilith买买买 | 来源:发表于2018-04-11 13:50 被阅读2271次

问题
pip install nose报错
Could not fetch URL https://pypi.python.org/simple/nose/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping

猜测和openssl有关

解决
brew upgrade openssl
pip install nose

更新
nose 是安装成功了,但是执行nosetests时,提示command not found:nosetests。最后是用easy_install nose安装是可以的。

相关文章

网友评论

      本文标题:mac & pip install的时候报错

      本文链接:https://www.haomeiwen.com/subject/mkgahftx.html