django manage.py syncdb not working?
- by Diego
Trying to learn Django, I closed the shell and am getting this problem now when I call python manage.py syncdb, any idea what happened?:
I've already set up a db. I have manage.py set up in the folder django_bookmarks. What's up here?
Traceback (most recent call last):
File "manage.py", line 2, in
from django.core.management import execute_manager
ImportError: No module named django.core.management
my-computer:~/Django-1.1.1/django_bookmarks mycomp$ export PATH=/Users/mycomp/bin:$PATH
my-computer:~/Django-1.1.1/django_bookmarks mycomp$ python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 2, in
from django.core.management import execute_manager
ImportError: No module named django.core.management
my-computer:~/Django-1.1.1/django_bookmarks mycomp$