So I'm trying to install Django on a Linux server (I don't have root access) and when I run $ python setup.py install
I get the following error: File "setup.py", line 48, in ? root_dir = os.path.dirname(__file__) NameError: name '__file__' is not defined How should I fix this? I thought maybe to modify the 'os.path.dirname (__file__)' line and to specify the abs path for the root_dir (does the roor_dir mean the Django directory? ) Thanks! rg --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---