我对 python 有点陌生,但我需要在 linux 机器上安装一个库,我使用的是 python 2.7。挑战是我在防火墙后面并且没有代理来做一个实际的 pip install confluent-kafka-python所以我从 github 获得了 confluent-kafka-python.zip 以便我可以离线安装并执行以下操作:sudo pip install confluent-kafka-python-master.zip但我收到以下错误: Collecting futures (from confluent-kafka==0.11.6) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x1846e90>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/futures/ Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x1846390>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/futures/ ....我该怎么做才能离线安装这个库?
添加回答
举报
0/150
提交
取消