Python PIP 文件队列安装错误



我正在尝试在Windows上的python虚拟环境中使用带有PIP的需求文件安装软件包列表。

列表进行到一半时,我收到以下错误。有人可以让我知道错误是什么吗?

(nsr) c:UsersaxxxanDesktopTemp>pip install -r requirements.txt
Collecting appdirs==1.4.3 (from -r requirements.txt (line 1))
Using cached appdirs-1.4.3-py2.py3-none-any.whl
Collecting asn1crypto==0.22.0 (from -r requirements.txt (line 2))
Using cached asn1crypto-0.22.0-py2.py3-none-any.whl
Collecting backports-abc==0.5 (from -r requirements.txt (line 3))
Using cached backports_abc-0.5-py2.py3-none-any.whl
Collecting beautifulsoup4==4.6.0 (from -r requirements.txt (line 4))
Using cached beautifulsoup4-4.6.0-py2-none-any.whl
Collecting behave==1.2.5 (from -r requirements.txt (line 5))
Using cached behave-1.2.5-py2.py3-none-any.whl
Collecting boto==2.46.1 (from -r requirements.txt (line 6))
Using cached boto-2.46.1-py2.py3-none-any.whl
Collecting cachetools==2.0.0 (from -r requirements.txt (line 7))
Using cached cachetools-2.0.0-py2.py3-none-any.whl
Collecting certifi==2017.4.17 (from -r requirements.txt (line 8))
Using cached certifi-2017.4.17-py2.py3-none-any.whl
Collecting cffi==1.10.0 (from -r requirements.txt (line 9))
Using cached cffi-1.10.0-cp27-cp27m-win_amd64.whl
Collecting chardet==3.0.2 (from -r requirements.txt (line 10))
Using cached chardet-3.0.2-py2.py3-none-any.whl
Requirement already satisfied: click==6.7 in c:usersaxxxanenvsnsrlibsite-packages (from -r requirements.txt (line 11))
Collecting cryptography==1.8.1 (from -r requirements.txt (line 12))
Using cached cryptography-1.8.1-cp27-cp27m-win_amd64.whl
Collecting dill==0.2.6 (from -r requirements.txt (line 13))
Using cached dill-0.2.6.zip
Obtaining dp_workflow from git+https://source.developers.google.com/p/txxx-data-lake-core-dev/r/nxx-dp@c6d58a36a3d5bed58333d5057633b789a99a6530#egg=dp_workflow (from -r requirements.txt (line 14))
Skipping because already up-to-date.
Collecting enum34==1.1.6 (from -r requirements.txt (line 15))
Using cached enum34-1.1.6-py2-none-any.whl
Collecting filequeue==0.3.1 (from -r requirements.txt (line 16))
Using cached filequeue-0.3.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:usersaxxxanappdatalocaltemppip-build-jqwnqffilequeuesetup.py", line 16, in <module>
long_description = "nn".join((read("README.rst"), read("CHANGES.rst"))),
File "c:usersaxxxanappdatalocaltemppip-build-jqwnqffilequeuesetup.py", line 6, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: 'c:\users\axxxan\appdata\local\temp\pip-build-jqwnqf\filequeue\CHANGES.rst'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:usersaxxxanappdatalocaltemppip-build-jqwnqffilequeue

Filequeue 在 PyPI 上的 tar 文件中缺少CHANGES.rst。这会导致 pip 倒下,因为setup.py需要CHANGES.rst(仅间接(。 鉴于上次更新的日期在 2013 年 1 月,修复可能需要一段时间。一个简单的解决方法如下:

pip install git+https://github.com/GP89/FileQueue.git

安装依赖于它的任何其他包之前。

然后,在安装其他需要 filequeue 的软件包时,pip 应该会发现它已经安装并跳到下一个要安装的软件包。


注意:最近的修复程序解决了这个问题,文件队列 0.3.2 应该在使用 pip 时安装没有问题。

最新更新