tags:

views:

100

answers:

2

problem with installing django i am geting folllowing error

E:\Softwares\Django-1.1.1.tar\Django-1.1.1\Django-1.1.1>setup.py install
Traceback (most recent call last):
  File "E:\Softwares\Django-1.1.1.tar\Django-1.1.1\Django-1.1.1\setup.py", line
48, in ?
    root_dir = os.path.dirname(__file__)
NameError: name '__file__' is not defined
A: 

You should usepython setup.py install

Satoru.Logic
+4  A: 

The Python version you are using, 2.2, is more than seven years old. Django is only compatible with versions 2.4 upwards.

Daniel Roseman