mac & pip install的时候报错

问题
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的时候报错)