Can't get python.manage.py syncdb to work

I just created my first django app, initialized DATABASE_ENGINE and DATABASE_NAME variables in settings.py, but now when I run python manage.py syncdb I get the following error. Can anyone please help? Is it related to installing two versions of python?

I am 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

      

+2


a source to share


1 answer


You need to run manage.py from your project root folder. It looks like you are trying to install the Django installation folder.



+6


a source







All Articles