开发者

how do i set my python path for success with my import statements?

I'm trying to install djangobb and when running manage.py syncdb it returns with

Traceback (most recent call last):
  File "manage.py", line 2, in <module>
    from django.core.management import execute_man开发者_如何学编程age
ImportError: No module named django.core.management

I know that deep in my python installation there is django/core/management, but I just don't know how to get manage.py to find it for me. Can someone point me in the right direction please?


Make sure that the base directory for where django/ lives is on your $PYTHONPATH

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜