Can't get python.manage.py syncdb to work
Posted
by Diego
on Stack Overflow
See other posts from Stack Overflow
or by Diego
Published on 2010-04-22T02:23:05Z
Indexed on
2010/04/22
2:33 UTC
Read the original article
Hit count: 505
I just created my first django app, initialized variables DATABASE_ENGINE and DATABASE_NAME in settings.py, but now when I run python manage.py syncdb, I get the following error Can somebody help? Does this have to do with having two python versions installed?
I'm a django/python noob, please help. thanks!!
my-computer:~/Django-1.1.1 mycomp$ python manage.py syncdb
/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python: can't open file 'manage.py': [Errno 2] No such file or directory
my-computer:~/Django-1.1.1 mycomp$ export PATH=/Users/mycomp/bin:$PATH
© Stack Overflow or respective owner