无法在我的Mac上安装PySocks。 Python版本2.7.13。
我正在使用pip install PySocks
并收到此消息:
Collecting pysocks
Could not fetch URL https://pypi.python.org/simple/pysocks/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement pysocks (from versions: )
No matching distribution found for pysocks
提前感谢您的帮助!
答案 0 :(得分:0)
There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version
尝试取消对网站https://pypi.python.org/simple/pysocks/
的SSL证书检查或者在网站上没有找到404或者403被禁止
答案 1 :(得分:0)
问题出现在旧版本的pip中。试图通过pip install --upgrade pip
升级点数,但ID不起作用。所以找到了答案here。