On Wed, Feb 11, 2009 at 10:26 PM, rg <raviv.gra...@gmail.com> wrote: > > 2.2.3. > > > On Feb 11, 12:21 pm, Alex Gaynor <alex.gay...@gmail.com> wrote: > > On Wed, Feb 11, 2009 at 12:20 PM, rg <raviv.gra...@gmail.com> wrote: > > > > > 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 > > > > What version of python are you using? > > > > Alex > > > > -- > > "I disapprove of what you say, but I will defend to the death your right > to > > say it." --Voltaire > > "The people's good is the highest law."--Cicero- Hide quoted text - > > > > - Show quoted text - > > > Python 2.2 is not supported, you need to use from Python 2.3-2.6.
Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---