开发者

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

开发者 https://www.devze.com 2023-01-06 16:56 出处:网络
I\'m trying to install djangobb and when running manage.py syncdb it returns with Traceback (most recent call last):

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

精彩评论

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