我对Python不太了解。我想开始做这个项目,安装说明上说:pip install -r requirements-dev.txt
很简单。问题是我知道:Downloading/unpacking gunicorn==0.13.4 (from -r requirements.txt (line 7))
Running setup.py egg_info for package gunicorn
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-root/gunicorn/setup.py", line 18, in
long_description = file(
NameError: name 'file' is not defined
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-root/gunicorn/setup.py", line 18, in
long_description = file(
NameError: name 'file' is not defined
我不明白这个问题。也许有人能帮忙?
我在Arch Linux上运行这个,python默认为python 3,项目不是python3,但我不确定是否是这样。
谢谢。