Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x108120da0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/numpy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x108120cc0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/numpy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x108120a58>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/numpy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x108120a20>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/numpy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1081206a0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/numpy/
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
老师,不知道这是什么原因
展开
作者回复: 网络原因导致安装包在线安装失败,可以通过搜索引擎找numpy的离线安装包,下载下来的格式是whl扩展名的,打开命令行,使用pip加完整路径安装,如:
pip install /path/to/install/numpy-version-cp36-platform.whl