brew 0.1.4安装python pip错误

时间:2018-02-28 14:07:34

标签: python pip

我是python的新手,我一直在尝试安装brew 0.1.4。我收到以下错误。

C:\Users\sys>pip install brew
Collecting brew
Using cached brew-0.1.4.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\sys\AppData\Local\Temp\pip-build-m49ufx8l\brew\setup.py",line 22, in <module>
with open('requirements.txt') as fid:
FileNotFoundError: [Errno 2] No such file or directory:'requirements.txt'

Command "python setup.py egg_info" failed with error code 1 in 
C:\Users\sys\AppData\Local\Temp\pip-build-m49ufx8l\brew\

我已尝试使用freeze方法创建需求文件,但仍然会收到相同的错误。帮我解决这个问题。

$ pip freeze > requirements.txt

1 个答案:

答案 0 :(得分:1)

pypi的.zip文件中似乎缺少requirements.txt。尝试从github存储库安装:

pip install git+https://github.com/viisar/brew.git