On Tue, May 20, 2008 at 10:35 PM, lilinspace <[EMAIL PROTECTED]> wrote: > > The python 2.4 came with my centos distribution (/usr/lib/) but I had > to build and install python 2.5 myself which got installed in (/usr/ > local/lib). I don't have a PYTHONPATH specified. > > > I have already tried running > > sh setuptools-0.6c8-py2.5.egg > > and this is the error message I got: > > Traceback (most recent call last): > File "<string>", line 1, in <module> > zipimport.ZipImportError: can't decompress data; zlib not available > > so no luck there either....
So what happens if you run /usr/local/bin/python and try to import zlib? You can also import anything else and then type module name at the command prompt to see which directory it was loaded from. Sometimes when you hand compile Python it doesn't autodetect libraries which are in fact installed, and thus it skips building the Python packages that depend on them. I'd run ./configure again and look carefully at the output. It will tell you what it detected and what it didn't. Then you may have to install some -dev packages to get the proper headers for linking to. At worst you may have to fuss with the -I flags or find a local C guru to help get it to recognize that these libraries exist. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
