嘿我最近更新到osx 10.12.4后立即更新我开始收到错误,当我尝试安装python包时。或者在conda的情况下,我无法创建新的虚拟环境。 Conda正在用于anaconda。以下是我收到的命令行响应。
PIP:
pip install tensorflow
Collecting tensorflow
Could not fetch URL https://pypi.python.org/simple/tensorflow/: There was a
problem confirming the ssl certificate: EOF occurred in violation of protocol
(_ssl.c:590) - skipping Could not find a version that satisfies the
requirement tensorflow (from versions: ) No matching distribution found for
tensorflow
easy_install的:
easy_install ndg-httpclients
Searching for ndg-httpclients
Reading pypi.python.org/simple/ndg-httpclients/
Download error on pypi.python.org/simple/ndg-httpclients/: EOF
occurred in violation of protocol (_ssl.c:661) -- Some packages may not be found!
Couldn't find index page for 'ndg-httpclients' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading pypi.python.org/simple/
Download error on pypi.python.org/simple: EOF occurred in
violation of protocol (_ssl.c:661) -- Some packages may not be found!
Conda(创建虚拟环境和安装模块时):
conda create --name hello-world
Fetching package metadata .......
CondaHTTPError: HTTP None None for url <None>
An HTTP error occurred when trying to retrieve this URL.
SSLError(SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),),)
我不确定发生了什么。我仍然可以使用已经创建的环境。