我收到了这个错误,我该怎么办呢?
daniel@daniel-toshiba~ $ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named django
答案 0 :(得分:2)
似乎django没有安装到site-packages目录,或者不在你的Python路径中。
答案 1 :(得分:1)
请参阅此处的选项1,获取比您所关注页面更直接的说明:http://www.djangoproject.com/download/