Alt-installed python 2.6 (from source using make altinstall)along side 2.4 on a CentOS machine (so as to not break anything), but I am a bit baffled about how to install python packages to the 2.6 directory tree rather than the stock 2.4 tree CentOS installs.

trying to get the mysqldb python package installed with no luck.

for setup.py I've tried different --home --prefix etc... flags and nothing seems to work.



I answered my own question here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.