pip请求已安装的未来包

2024-04-29 16:06:04 发布

您现在位置:Python中文网/ 问答频道 /正文

虽然安装了future,但pip仍在尝试收集它。这是一台脱机机器,因此无法自动获取包。用pip3代替python3 -m pip会得到同样的结果。你知道吗

$ python3 -m pip install ~/future-0.17.1.tar.gz
Processing /home/vader/future-0.17.1.tar.gz
Building wheels for collected packages: future
  Running setup.py bdist_wheel for future ... done
  Stored in directory: /home/vader/.cache/pip/wheels/c5/09/3a/1433ca68e4b2b77cd517ad0ef03182174a8f2c5fd0a8a89b1f
Successfully built future
Installing collected packages: future
Successfully installed future-0.17.1
$ python3 -m pip install ~/ffmpeg-python-0.1.18.tar.gz
Processing /home/vader/ffmpeg-python-0.1.18.tar.gz
Collecting future (from ffmpeg-python==0.1.18)
  Retrying...NewConnectionError...Failed to establish a new connection

如何解决?你知道吗


Tags: installpiphomeforpackagesfuturetarwheels