我试图使用pip安装django_注释,但出现了此错误(在virtualenv@Windows中运行): 回溯:
(env) E:\mdknowledge>pip install django-comments
Collecting django-comments
Using cached django-comments-1.0.0.b.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "c:\users\dell\appdata\local\temp\pip-build-pi1rwb\django-comments\setup.py", line 18, in <module> long_description = open('README.rst').read(),
IOError: [Errno 2] No such file or directory: 'README.rst'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\dell\appdata\local\temp\pip-build-pi1rwb\django-comments
我通过使用以下方法将django contrib comments模块版本从1.6降级到1.5,从而解决了这个问题:
您可以使用以下命令直接从github安装此包:
相关问题 更多 >
编程相关推荐