2015-08-13 3 views
0

Я пытался использовать пип установить django_comments, то эта ошибка произошла (запуск в virtualenv @Windows): отслеживающий:IOError: [Errno 2] Нет такого файла или каталога: 'README.rst'

(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 

ответ

0

Я решил этот вопрос, понижает мой Джанго-CONTRIB-комментарии версии модуля от 1,6 до 1,5 с помощью:

pip uninstall django-contrib-comments 
pip install django-contrib-comments==1.5 
1

Вы можете установить этот пакет непосредственно из GitHub с помощью этой команды:

$ pip install -e git+https://github.com/marazmiki/django-comments.git#egg=django-comments 
Смежные вопросы