I expect to be able to use Python 2.6.6. with CentOS 7.3. If that is not a reasonable expectation, please say so. My goal is to use an .so file associated with Python 2.6.6. I downgraded Python from 2.7.5 to 2.6.6 on CentOS 7.3.
When I try to run yum commands, I get this error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum Please install a package which provides this module or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is 2.6.6.
I did not expect this. To solve the problem I downloaded an .rpm for CentOS to install yum. I downloaded its dependencies too (including python-sqlite and python(abi)). When I try to install these with this command "rpm -ivh *.rpm --force" I get this:
Failed dependencies: db4 < 5 is obsoleted by (installed) libdb-5.3.21-19.el7.x86_64
I did not expect this error above. I cannot uninstall libdb-5.3 because RPM would not work. I need db4-4...rpm because it is a dependency of python-libs-2.6.6. I need python-libs-2.6.6 to get Python 2.6.6 fully funcational for the .so file I need that is associated with Python 2.6.6.
What should I do?