sheeptick
unread,Nov 18, 2010, 9:10:41 AM11/18/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi all, I'm fairly new to Linux, but learned some python on windows.
I want to work through Ayman Hourieh's book on django.
I'm having trouble finding stuff in order to set PATH and PYTHONPATH
variables.
I installed ubuntu 10.10, and used apt-get to install python2.6 and
django.
I can open a shell and run python, and then import django.
I notice that: print django.__path__ gives /usr/lib/pymodules/
python2.6/django
I can't run: django-admin.py startproject some_project
Using which and locate (after updatedb) I found:
/usr/bin/python2.6
/usr/local/lib/python2.6/site-packages
/usr/lib/python-django/bin/django-admin.py
The site-packages directory is empty, so where did django go?
I see that /usr/lib/pymodules/python2.6/django is full of stuff.
What do I need to put in my PATH or PYTHONPATH?
With thanks, Charlie