On Thu, 2008-10-16 at 13:32 +0800, robin nanola wrote:
> i think you must be the root user to be able to install django..

This isn't correct.

> On Thu, Oct 16, 2008 at 1:25 PM, limas <[EMAIL PROTECTED]>
> wrote:
>         
>         hai,
>         i want to install django in a local directory without the
>         permission
>         of root in Mandriva linux.
>         please help me........The problem i suffered is could not
>         create the
>         file /usr/lib/python2.5/site-packages/django. permission
>         denied.

It sounds like you are trying to install it using setup.py, which will
try to install it in your standard library directory. However, Django's
setup.py is exceedingly trivial and isn't really needed for most uses.

All you need to do is make sure that the top of the source tree is on
your Python path. So you can put it anywhere you like and then set up
your PYTHONPATH environment variable to point there so that "import
django" works.

Regards,
Malcolm

> 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to