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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to