On Mon, Jun 28, 2010 at 08:58:45AM -0400, Jim Perrin wrote:
On Sat, Jun 26, 2010 at 2:15 PM, Susan Day suzieprogrammer@gmail.com wrote:
Hi; I've got MySQLdb installed (bridge to Python) and I can't figure out how to upgrade it. I did a find and got these paths:
/usr/lib/python2.6/site-packages/SQLAlchemy-0.6beta2-py2.6.egg/sqlalchemy/dialects/mysql/mysqldb.py /usr/lib/python2.6/site-packages/SQLAlchemy-0.6beta2-py2.6.egg/sqlalchemy/dialects/mysql/mysqldb.pyc
Where did you get python 2.6 from? CentOS has 2.4.3 by default, and most repos that have newer python packages drop them in /opt or similar to avoid clobbering the default setup (and yum).
And if you install Python 2.6.x from source, it by default goes into /usr/local/, not /usr/.
(Wouldn't it be nice if CentOS had 2.6.5 instead 2.4.3? Python improved dramatically between those two. My systems all get Python 2.6.5 alongside 2.4.3 because (a) 2.6.5 has a lot of useful features I'm not going to refuse to use just for CentOS purity, and (b) it's easier to write Python 3.x-compatible code in 2.6.5. Now, if I were going through the package management system to build 2.6.5 wouldn't that risk _confusing_ the CentOS stuff with dependencies on 2.4.3 where simply installing to /usr/local/ appears to nicely avoid that?)
Whit