我在requirements.txt中有这个代码但我记得使用这个方法我安装但这次我只有错误...
static3==0.5.1
Twisted==15.0.0
urllib3==1.10.2
w3lib==1.11.0
zope.interface==4.1.2
pip install git+https://github.com/leonardoo/django-dropbox
当我这样做时,我得到了错误......
File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/pkg_resources/__init__.py", line 2785, in scan_list
remote: raise ValueError(msg, line, "at", line[p:])
remote: ValueError: ('Expected version spec in', 'pip install git+https://github.com/rajasimon/python-twitter', 'at', ' install git+https://github.com/rajasimon/python-twitter')
答案 0 :(得分:5)
在requirements.txt
文件中:
...
zope.interface==4.1.2
-e git://github.com/leonardoo/django-dropbox.git#egg=django_dropbox