On Thu, Dec 17, 2009 at 7:12 PM, Mario Romero <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA224 > > it seems your upgrade to python 2.6 broke yum. > Personally, I suggest you get rid of RH and stick to Ubuntu. > Otherwise you need to fix yum (by rolling back to 2.4 perhaps) and > after that make sure zlib is installed as well as its development > headers (zlib/zlib-devel) > you also might be forced to have 2 different python versions running > in your system, in which case you might want to look at using > virtualenv (you should do this whatever you decide to do). > > +1
Just to further expound on this advice. Ubuntu also uses python for some system critical functions so I've gotten in the habit of building from source and installing in ~/local and then virtualenv, per project. This way I can only hose my home directory by installing various packages and such. ./configure --prefix=/home/you/local && make && make install then install distribute $ curl -O http://python-distribute.org/distribute_setup.py $ python distribute_setup.py then install virtualenv $ easy_install virtualenv keep sanity in tact. -- Thomas G. Willis -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
