|
Posted by emetib |
|
|
I can't install ez_setup.py on centos 5
Here is what's happening [root@sehaleys-mac bin]# python ez_setup.py Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-p y2.7.egg Traceback (most recent call last): File "ez_setup.py", line 278, in <module> main(sys.argv[1:]) File "ez_setup.py", line 212, in main from setuptools.command.easy_install import main zipimport.ZipImportError: can't decompress data; zlib not available [root@sehaleys-mac ~]# sh setuptools-0.6c11-py2.7.egg Traceback (most recent call last): File "<string>", line 1, in <module> zipimport.ZipImportError: can't decompress data; zlib not available [root@sehaleys-mac ~]# yum install zlib Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: pubmirrors.reflected.net * atomic: www5.atomicorp.com * base: mirror.sanctuaryhost.com * extras: mirror.sanctuaryhost.com * updates: mirror.anl.gov Setting up Install Process Package zlib-1.2.3-3.i386 already installed and latest version Nothing to do IT appears zlib is in untared Python-2.7 file ... yet did not install to python2.7 I was not able to configure it ./configure –with-zlib=/usr/include [root@sehaleys-mac ~]# find $HOME -name '*zlib*' /root/Python-2.7/Demo/zlib /root/Python-2.7/Demo/zlib/zlibdemo.py /root/Python-2.7/Modules/zlibmodule.c /root/Python-2.7/Modules/zlib /root/Python-2.7/Modules/zlib/zlib.h /root/Python-2.7/Modules/zlib/zlib.3 /root/Python-2.7/Doc/library/zlib.rst /root/Python-2.7/Lib/encodings/zlib_codec.py /root/Python-2.7/Lib/test/test_zlib.py Any suggestions? Thanks --- Last Edited by emetib at 2011-01-31 14:01:24 --- |


