【发布时间】:2018-09-19 16:00:58
【问题描述】:
我目前正在使用 Python(版本:3.5.2 |Anaconda 4.2.0 (64-bit)|)。当我尝试安装 tensorflow 时,它抛出了一个错误。我不明白如何解决。以下是错误:
Collecting tensorflow
Cache entry deserialization failed, entry ignored
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Could not find a version that satisfies the requirement tensorflow (from
versions: )
No matching distribution found for tensorflow
Cache entry deserialization failed, entry ignored
我没有任何互联网连接问题。谁能帮我解决这个问题。
【问题讨论】:
-
如果您使用代理,您是否还为 conda 配置了代理,例如 conda.io/docs/user-guide/configuration/index.html
-
@tardis.. 是的,我做到了
-
您好像忘记为代理配置用户名和密码?至少错误
Proxy Authentication Required似乎表明 -
@FlyingTeller..我现在收到一个错误“无法连接到repo.continuum.io/pkgs/pro/win-64 ProxyError:代理错误:找不到'https'的代理。有关如何操作的更多信息,请参阅conda.pydata.org/docs/…配置代理。” .实际上我对此完全陌生,您能指导我现在该怎么做吗??
-
您必须提供更多信息。你在代理后面吗?您是否已经通过 http 和 https 为 conda/anaconda 配置了代理(不是 os 或 webbrowser 的代理)?如果是,怎么做?
标签: installation conda http-proxy