import gzip error (please help)
Fredrik Lundh
fredrik at pythonware.com
Fri Jan 11 07:14:24 EST 2008
syahreza.octadian wrote:
> Please help, i have error message when i import gzip module. The error
> like this below:
>
> bash-3.00$ python
> Python 2.5 (r25:51908, Sep 20 2006, 03:46:40)
> [GCC 3.4.6] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import gzip
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python2.5/gzip.py", line 9, in <module>
> import zlib
> ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/
> lib/python2.5/lib-dynload/zlib.so: symbol inflateCopy: referenced
> symbol not found
the core zlib library (libz.so) isn't installed on your machine.
</F>
More information about the Python-list
mailing list