我想下载并安装一些特定的库(它不一定是tensorflow,但我将以它为例)
我有一个可以连接互联网的Ubuntu virtual_machine_1 。 我这样做:
pip download tensorflow
下载当前文件夹中的所有文件后,我将它们传输到虚拟机_2 在那里,我将文件解压缩到folder_with_tf_dependencies中并执行以下操作:
pip install --user --find-links=../folder_with_tf_dependencies
我得到的错误是:
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff735bbe090>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/tensorflow/