Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install requests on centos 5.5 with Python 2.4.3 #351

kamal2222ahmed opened this Issue Jan 10, 2012 · 2 comments


None yet
3 participants
Copy link

kamal2222ahmed commented Jan 10, 2012

sudo easy_install requests
Searching for requests
Best match: requests 0.9.1
Processing requests-0.9.1.tar.gz
Running requests-0.9.1/ -q bdist_egg --dist-dir /tmp/easy_install-8Rij8R/requests-0.9.1/egg-dist-tmp-ZBUU3m
Traceback (most recent call last):
File "/usr/bin/easy_install", line 7, in ?
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 1712, in main
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 1700, in with_ei_usage
return f()
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 1716, in
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib64/python2.4/distutils/", line 149, in setup
File "/usr/lib64/python2.4/distutils/", line 946, in run_commands
File "/usr/lib64/python2.4/distutils/", line 966, in run_command
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/", line 919, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/", line 61, in run_setup
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/", line 105, in run
return func()
File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/", line 64, in
{'file':setup_script, 'name':'main'}
File "", line 6, in ?
File "/tmp/easy_install-8Rij8R/requests-0.9.1/requests/", line 26
from . import utils
SyntaxError: invalid syntax
[kahmed@localhost JIRA-REST-HG-PLUGIN]$ uname -a
Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[kahmed@localhost JIRA-REST-HG-PLUGIN]$ uname -m


This comment has been minimized.

Copy link

kenneth-reitz commented Jan 10, 2012

Python 2.4 is not supported. It came out 8 years ago. That's older than Youtube. Upgrade.


This comment has been minimized.

Copy link

bladeoflight16 commented Dec 1, 2014

While I agree that supporting Python 2.4 is inane, don't ever just upgrade Python on RedHat relatives. Installing a newer Python package has a tendency to bring yum crashing down. You have to go through some convoluted, alternative install nonsense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.