>>>import sys; sys.path

['', '/home/mark/django_projects',
'/home/mark/django_projects/coltrane',
'/usr/lib/python25.zip',
'/usr/lib/python2.5',
'/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/var/lib/python-support/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/var/lib/python-support/python2.5/gtk-2.0']

On Dec 9, 12:02 pm, mangamonk <[EMAIL PROTECTED]> wrote:
> I'm working through 'practical django projects'
> on page 46, in order to develop stanalone application, I need to add
> my django 'project' to the python path. therefore..
>
> export PYTHONPATH=/home/mark/django_projects/:$PYTHONPATH
>
> then a little later in the tutorial after setting up the 'coltrane
> application' I run the 'python manage.py syndb' command, from within
> the project folder,
>
> '[EMAIL PROTECTED]:~/django_projects$ python manage.py syncdb'
>
> and get the following error...
>
> 'python: can't open file 'manage.py': [Errno 2] No such file or
> directory'
>
> how I do I test to see what my python path is?
> what am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to