我越来越:
ImportError at /
No module named threadedcomments_extras
Request Method: GET
Request URL: http://stornge.com:8000/
Django Version: 1.5
Exception Type: ImportError
Exception Value:
No module named threadedcomments_extras
Exception Location: /home/jonathan/virtual_environment/local/lib/python2.7/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable: /home/jonathan/virtual_environment/bin/python
Python Version: 2.7.3
Python Path:
['/home/jonathan/clay/apps',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/pinax/apps',
'/home/jonathan/clay',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
'/home/jonathan/virtual_environment/lib/python2.7',
'/home/jonathan/virtual_environment/lib/python2.7/plat-linux2',
'/home/jonathan/virtual_environment/lib/python2.7/lib-tk',
'/home/jonathan/virtual_environment/lib/python2.7/lib-old',
'/home/jonathan/virtual_environment/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages',
'/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/PIL']
Server time: Mon, 25 Mar 2013 13:59:14 -0400
media/apps 目录中有一些东西在我看来就像一个 Django 应用程序:
(virtual_environment)jonathan@li393-189:~/clay$ find . | grep -i threadedcomments
./media/apps/threadedcomments_extras
./media/apps/threadedcomments_extras/__init__.pyc
./media/apps/threadedcomments_extras/templatetags
./media/apps/threadedcomments_extras/templatetags/comments_tag.pyc
./media/apps/threadedcomments_extras/templatetags/comments_tag.py
./media/apps/threadedcomments_extras/templatetags/__init__.pyc
./media/apps/threadedcomments_extras/templatetags/__init__.py
./media/apps/threadedcomments_extras/__init__.py
./media/projects/intranet_project/templates/threadedcomments
./media/projects/intranet_project/templates/threadedcomments/comments.html
./media/templates/default/threadedcomments
./media/templates/default/threadedcomments/comments.html
(virtual_environment)jonathan@li393-189:~/clay$
但是,将媒体应用程序复制到 ./apps/ 会立即终止工作线程。在 settings.py 中注释掉 'threadedcomments_extras' 也是如此。
我如何才能安装并运行 threadedcomments_extras,或者消除对 threadedcomments_extras 的所有期望?
谢谢,