I see the problem. I have three paths, two are pointing to the wrong directory. Does anyone know how to remove a path?
On Dec 30, 11:48 pm, mOne <[EMAIL PROTECTED]> wrote: > Hey Eric, > > When I type in which python I get /usr/bin/python. That seems to work. > When I type in Macintosh:~ tk$ python django-admin.py startproject tkt > I get the same error. I have tried to export the path anme to no > avail. See error below: > > /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/ > Python.app/Contents/MacOS/Python: can't open file 'django-admin.py': > [Errno 2] No such file or directory > > This is the path I am using : > > Macintosh:~ tk$ export PATH=$PATH:/Library/Frameworks/Python.framework/ > Versions/2.5/lib/python2.5/site-packages/django/bin > > Is that correct. It worked on my Mac with Tiger installed no problem. > > On Dec 29, 1:04 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > > > On Dec 28, 8:15 pm, mOne <[EMAIL PROTECTED]> wrote: > > > > OK. How do I set this up on my machine. I am running Leopard and I am > > > using the following as my path, but it does not seem to be working. > > > How can I tell if I my path is correct. > > > > This is the error that I keep getting: > > > > Macintosh:~ tk$ python django-admin.py startproject appersers > > > /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/ > > > Python.app/Contents/MacOS/Python: can't open file 'django-admin.py': > > > [Errno 2] No such file or directory > > > Macintosh:~ tk$ > > > > Please help > > > That's very weird, it looks like it doesn't know how to find the > > python executable. If you type: > > which python > > at the prompt, you should get /usr/bin/python, and that should be a > > symlink pointing to: > > /Library/Frameworks/Python.framework/Versions/2.5/bin/python > > which in turn should be a symlink pointing to python2.5 in the same > > directory. Is all that the case? And what happens when you run the > > python interpreter in Terminal? > > > Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---