Hi Tkm, That did the trick!
I actually had a symlink in /usr/local/bin, but it wasn't correctly formatted. I must have misread the `pwd` phrase in the symlink command. Many thanks, LRP On May 7, 8:21 pm, "Bruno Tikami" <[EMAIL PROTECTED]> wrote: > Hello LRP, > > Your problem is not with yout PYTHONPATH but with your user's profile PATH. > If your Debian can't find django-admin.py it's because it's not on your > "bin" directory (which usually is /usr/bin but can also be in > /usr/local/bin). Synlink django-admin.py into /usr/bin (once you've already > tryied /usr/local/bin and make sure to give it execution permissions (chmod > +x) after the link is there. > > I really don't think the problem is on django's docs cause I've translated > this tutorial for Brazilian Portuguese and no one has ever complained about > it. > > Good luck and let us know if you have any other problems.. > > Regards, > > Tkm- Show quoted text - > > > > On Wed, May 7, 2008 at 8:09 PM, LRP <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I've been trying to load the development version of django onto Debian > > testing (lenny). > > > I've successfully loaded and tested postgresql. And I've successfully > > downloaded django from subversion into my home directory: > > > [EMAIL PROTECTED]:~/django-trunk/django/bin$ > > > Following this model in ~/debian-trunk/docs/install.txt: > > > ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django > > > I've created the following symlink in [EMAIL PROTECTED]:/usr/lib/ > > python2.5/site-packages$ : > > > lrwxrwxrwx 1 root root 31 2008-05-07 18:24 django -> /home/lloyd/ > > django-trunk/django > > > And, again, following instructions in install.txt, and using the > > following model: > > > ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/ > > bin > > > I've created this symlink in /usr/lib/python2.5: > > > django-admin.py -> /home/lloyd/django-trunk/django/bin/django- > > admin.py > > > Note that */usr/local/bin doesn't exist in my $PYTHONPATH, so I've put > > the symlink in [EMAIL PROTECTED]:/usr/lib/python2.5, > > > Here's my $PYTHONPATH, confirming that /usr/lib/python2.5 is in the > > path: > > > >>> sys.path > > ['', '/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', '/var/ > > lib/python-support/python2.5/gtk-2.0'] > > > Now at this point, according to the following instruction in the > > tutorial on the django site, I should be able to start my project: > > > "From the command line, cd into a directory where you'd like to store > > your code, then run the command django-admin.py startproject mysite. > > This will create a mysite directory in your current directory." > > > When I do this, however, I get the following error message: > > > discovery:/home/lloyd/django$ django-admin.py startproject mysite > > bash: django-admin.py: command not found > > > Question: is the problem in my method? Or in the django's install > > instructions? > > > Many thanks, > > > LRP > > <http://djangopeople.net/brunotikami/> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---