How to downgrade python from 2.6.4 to 2.5?

Posted on 2009-12-21
Medium Priority
Last Modified: 2013-12-06
I have running Fedora Core 12 and need to downgrade python from 2.6.4 to 2.5.4 and do this using source code.  I've located the source code.  How do I remove the 2.6.4 and get 2.5.4 up and running?  Thanks.


I am downgrading Python as it seems the Google Apps Engine is not compatible with >2.6 Python.
Question by:amigan_99
LVL 11

Accepted Solution

legolasthehansy earned 1000 total points
ID: 26102753
Something you can install the older version to a different directory using configure.. like maybe to /opt/python.
Next, rename the python executable of the newer version and create a soft link to /opt

Suppose the newer version is under /usr/local/bin/
then cd /usr/local/bin
mv python python.newer_version
ln -s /opt/path_to_python python

see if this helps...
LVL 29

Assisted Solution

pepr earned 1000 total points
ID: 26111646
The following article dicusses the possibility to use both Python 2.6.1 and Python 3.0 on Fedora -- http://makeyjl.blogspot.com/2009/01/building-python-26-and-30-alongside.html.  It is likely that you can do the same with Python 2.5.4.

Author Closing Comment

ID: 31668867
Thank-you for both approaches.

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question