First time here? Check out the FAQ!

Revision history  [back]

Askbot : Install error on Python 2.4

System : Centos 5.9 Python : 2.4.3

pip-python install askbot or easy_install askbot

Any possible solutions? Thanks in advance!

Askbot : Install error on Python 2.4

System : Centos 5.9 Python : 2.4.3

pip-python install askbot or easy_install askbot

Any possible solutions? Thanks in advance!

Askbot : Install error on Python 2.4error

System : Centos 5.9 Python : 2.4.3

pip-python install askbot or easy_install askbot

[root@plato ~]#pip install askbot Requirement already satisfied (use --upgrade to upgrade): askbot in /usr/lib/python2.4/site-packages/askbot-0.7.48-py2.4.egg Downloading/unpacking beautifulsoup4 (from askbot) Running setup.py egg_info for package beautifulsoup4 Downloading/unpacking pystache==0.3.1 (from askbot) Running setup.py egg_info for package pystache Downloading/unpacking sanction (from askbot) Running setup.py egg_info for package sanction warning: no files found matching '.py' under directory '.' Downloading/unpacking longerusername (from askbot) Running setup.py egg_info for package longerusername Downloading/unpacking django-recaptcha-works (from askbot) Running setup.py egg_info for package django-recaptcha-works Downloading/unpacking html5lib==0.90 (from askbot) Running setup.py egg_info for package html5lib Downloading/unpacking django-followit (from askbot) Running setup.py egg_info for package django-followit warning: no files found matching 'tox.ini' warning: no previously-included files matching '.pyc' found under directory 'followit' warning: manifest_maker: MANIFEST.in, line 5: 'recursive-exclude' expects

... no previously-included directories found matching 'dist' no previously-included directories found matching 'build' warning: manifest_maker: MANIFEST.in, line 8: unknown action 'global' warning: no previously-included files found matching 'settings.py' warning: no previously-included files found matching 'manage.py' warning: no previously-included files found matching '__init__.py' warning: no previously-included files found matching 'urls.py' warning: manifest_maker: MANIFEST.in, line 13: 'recursive-exclude' expects ... warning: manifest_maker: MANIFEST.in, line 14: 'recursive-exclude' expects ... Downloading/unpacking django-tinymce (from askbot) Running setup.py egg_info for package django-tinymce warning: no previously-included files found matching '.pyc' Downloading/unpacking django-kombu==0.9.2 (from askbot) Running setup.py egg_info for package django-kombu Downloading/unpacking django-countries==1.0.5 (from askbot) Running setup.py egg_info for package django-countries Downloading/unpacking akismet (from askbot) Running setup.py egg_info for package akismet Downloading/unpacking python-openid (from askbot) Running setup.py egg_info for package python-openid warning: no files found matching 'CHANGELOG' warning: no files found matching '.css' under directory 'doc' warning: no files found matching '.html' under directory 'doc' Downloading/unpacking django-robots (from askbot) Running setup.py egg_info for package django-robots Downloading/unpacking pytz (from askbot) Running setup.py egg_info for package pytz warning: no files found matching '.pot' under directory 'pytz' warning: no previously-included files found matching 'test_zdump.py' Downloading/unpacking Jinja2 (from askbot) Running setup.py egg_info for package Jinja2 warning: no previously-included files matching '' found under directory 'docs/_build' warning: no previously-included files matching '.pyc' found under directory 'jinja2' warning: no previously-included files matching '.pyc' found under directory 'docs' warning: no previously-included files matching '.pyo' found under directory 'jinja2' warning: no previously-included files matching '.pyo' found under directory 'docs' Downloading/unpacking django-threaded-multihost (from askbot) Running setup.py egg_info for package django-threaded-multihost Downloading/unpacking markdown2 (from askbot) Running setup.py egg_info for package markdown2 Downloading/unpacking unidecode (from askbot) Running setup.py egg_info for package unidecode /usr/lib64/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'provides' warnings.warn(msg) Downloading/unpacking oauth2 (from askbot) Running setup.py egg_info for package oauth2 Downloading/unpacking django-celery==2.2.7 (from askbot) Running setup.py egg_info for package django-celery no previously-included directories found matching 'bin/.pyc' no previously-included directories found matching 'tests/.pyc' no previously-included directories found matching 'docs/.pyc' no previously-included directories found matching 'contrib/.pyc' no previously-included directories found matching 'djcelery/.pyc' no previously-included directories found matching 'docs/.build' no previously-included directories found matching 'examples/.pyc' Downloading/unpacking django-keyedcache (from askbot) Running setup.py egg_info for package django-keyedcache warning: no files found matching '' under directory 'keyedcache/templatetags' Downloading/unpacking django>=1.3.1 (from askbot) Running setup.py egg_info for package django Traceback (most recent call last): File "", line 14, in ? File "/root/build/django/setup.py", line 84, in ? version = __import__('django').get_version() File "django/__init__.py", line 6, in get_version from django.utils.version import get_version File "django/utils/version.py", line 20 parts = 2 if version[2] == 0 else 3 ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 14, in ?

File "/root/build/django/setup.py", line 84, in ?

version = __import__('django').get_version()

File "django/__init__.py", line 6, in get_version

from django.utils.version import get_version

File "django/utils/version.py", line 20

parts = 2 if version[2] == 0 else 3

           ^

SyntaxError: invalid syntax


Command python setup.py egg_info failed with error code 1 Storing complete log in /root/.pip/pip.log


Any possible solutions? Thanks in advance!