虽然我已经脱机下载了一个.whl包,但由于它需要连接到pypi服务器,所以无法脱机安装它。我能做什么?
我已经从PyPI下载了这个软件包,并试图安装它。它真的很奇怪,它想再次连接到网络。我怎么才能解决这个问题?
pip install Keras-2.2.4-py2.py3-none-any.whl --user我以为它会安装它。但是,下面的消息说,它需要连接到网络。
信息:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000230B937FA20>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/keras-preprocessing/
ERROR: Could not find a version that satisfies the requirement keras-preprocessing>=1.0.5 (from Keras==2.2.4) (from versions: none)
ERROR: No matching distribution found for keras-preprocessing>=1.0.5 (from Keras==2.2.4)发布于 2019-07-31 00:57:13
尝试指定相对路径或绝对路径。
Linux:
pip install ./Keras-2.2.4-py2.py3-none-any.whl --user或
pip install /my/path/to/Keras-2.2.4-py2.py3-none-any.whl --user窗口:
pip install .\Keras-2.2.4-py2.py3-none-any.whl --user或
pip install C:\my\path\to\Keras-2.2.4-py2.py3-none-any.whl --userhttps://stackoverflow.com/questions/57281400
复制相似问题