返回信息流pip换信任的源安装tensorflow包时,还是会提示五次warning:
c:\Python\Scripts>pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001A443287508>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/tensorflow/
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
换其他的包安装也会错误,国庆之前就没有报错,是哪里设置的有问题呢?求大佬们解答
[ema1][ema1]
这是一条镜像帖。来源:北邮人论坛 / python / #24435同步于 2019/10/5
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖
【已解决】pip安装包文件失败问题
xiezi666
2019/10/5镜像同步7 回复
订阅后,新回复会通过你的通知中心匿名送达。
7 条回复
把包下载下来安装也还是会报错
c:\Python\Scripts>pip install tensorflow-2.0.0-cp37-cp37m-win_amd64.whl
Processing c:\python\scripts\tensorflow-2.0.0-cp37-cp37m-win_amd64.whl
Collecting grpcio>=1.8.6 (from tensorflow==2.0.0)
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000237EDA1FA88>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))': /simple/grpcio/
ERROR: Could not find a version that satisfies the requirement grpcio>=1.8.6 (from tensorflow==2.0.0) (from versions: none)
ERROR: No matching distribution found for grpcio>=1.8.6 (from tensorflow==2.0.0)
求助各位大佬,我也是有这个错误,但是我的报错是connectTimeoutError
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe50f3edcc0>, 'Connection to pypi.org timed out. (connect timeout=15)')':