Hi All, I am trying to install django on top of python 3.2, but getting following error:
C:\Python32\Scripts>easy_install.exe django Searching for django Reading http://pypi.python.org/simple/django/ Reading http://www.djangoproject.com/ Best match: Django 1.3.1 Downloading http://pypi.python.org/packages/source/D/Django/Django-1.3.1.tar.gz#md5=62d8642fd06b9a0bf8544178f8500767 Processing Django-1.3.1.tar.gz Running Django-1.3.1\setup.py -q bdist_egg --dist-dir c:\users\hussai~1.boh\appdata\local\temp\easy_install-u3vk_y\Django-1.3.1\egg-dist-tmp-y96tyc Traceback (most recent call last): File "C:\Python32\Scripts\easy_install-script.py", line 9, in <module> load_entry_point('distribute==0.6.19', 'console_scripts', 'easy_install')() File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 1864, in main with_ei_usage(lambda: File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 1845, in with_ei_usage return f() File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 1868, in <lambda> distclass=DistributionWithoutHelpCommands, **kw File "c:\Python32\lib\distutils\core.py", line 149, in setup dist.run_commands() File "c:\Python32\lib\distutils\dist.py", line 919, in run_commands self.run_command(cmd) File "c:\Python32\lib\distutils\dist.py", line 938, in run_command cmd_obj.run() File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 345, in run self.easy_install(spec, not self.no_deps) File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 585, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 615, in install_item dists = self.install_eggs(spec, download, tmpdir) File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 805, in install_eggs return self.build_and_install(setup_script, setup_base) File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 1082, in build_and_install self.run_setup(setup_script, setup_base, args) File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\command\easy_install.py", line 1071, in run_setup run_setup(setup_script, args) File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\sandbox.py", line 31, in run_setup lambda: exec(compile(open( File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\sandbox.py", line 73, in run return func() File "c:\Python32\lib\site-packages\distribute-0.6.19-py3.2.egg\setuptools\sandbox.py", line 33, in <lambda> ).read(), "setup.py", 'exec'), File "setup.py", line 70 if u'SVN' in version: ^ SyntaxError: invalid syntax I also tried installing using Django-1.3.1.tar.gz, but unfortunately same result D:\Python\Python - Software\Django-1.3.1>c:\Python32\python.exe setup.py install File "setup.py", line 70 if u'SVN' in version: ^ SyntaxError: invalid syntax Any suggestion is highly appreciated. Thanks and Regards, Hussain Bohra _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers