Estou tentando obter minha instalação fácil para instalar um módulo xlrd e recebi o seguinte erro:
# /LWBPython-2.7.3/bin/easy_install-2.7 xl
rd
Traceback (most recent call last):
File "/LWBPython-2.7.3/bin/easy_install-2.7", line 5, in <module>
from pkg_resources import load_entry_point
zipimport.ZipImportError: can't decompress data; zlib not available
quando executo os módulos de ajuda, vejo que o zlib está instalado:
/LWBPython-2.7.3/bin/python2.7
Python 2.7.3 (default, Feb 27 2017, 19:13:37)
[GCC 4.8.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help("modules")
Please wait a moment while I gather a list of all available modules...
BaseHTTPServer ast imp shelve
Bastion asynchat importlib shlex
CDROM asyncore imputil shutil
CGIHTTPServer atexit inspect signal
Canvas audiodev io site
ConfigParser audioop itertools smtpd
Cookie base64 json smtplib
DLFCN bdb keyword sndhdr
Dialog binascii lib2to3 socket
DocXMLRPCServer binhex linecache spwd
FileDialog bisect linuxaudiodev sqlite3
FixTk bsddb locale sre
HTMLParser cPickle logging sre_compile
IN cProfile macpath sre_constants
MimeWriter cStringIO macurl2path sre_parse
Queue calendar mailbox ssl
ScrolledText cgi mailcap stat
SimpleDialog cgitb markupbase statvfs
SimpleHTTPServer chunk marshal string
SimpleXMLRPCServer cmath math stringold
SocketServer cmd md5 stringprep
StringIO code mhlib strop
TYPES codecs mimetools struct
Tix codeop mimetypes subprocess
Tkconstants collections mimify sunau
Tkdnd colorsys mmap sunaudio
Tkinter commands modulefinder symbol
UserDict compileall multifile symtable
UserList compiler multiprocessing sys
UserString contextlib mutex sysconfig
_LWPCookieJar cookielib netrc syslog
_MozillaCookieJar copy new tabnanny
__builtin__ copy_reg nntplib tarfile
__future__ crypt ntpath telnetlib
_abcoll csv nturl2path tempfile
_ast ctypes numbers termios
_bisect curses opcode test
_codecs datetime operator textwrap
_codecs_cn dbhash optparse this
_codecs_hk decimal os thread
_codecs_iso2022 difflib os2emxpath threading
_codecs_jp dircache ossaudiodev time
_codecs_kr dis parser timeit
_codecs_tw distutils pdb tkColorChooser
_collections doctest pickle tkCommonDialog
_csv dumbdbm pickletools tkFileDialog
_ctypes dummy_thread pipes tkFont
_ctypes_test dummy_threading pkg_resources tkMessageBox
_elementtree easy_install pkgutil tkSimpleDialog
_functools email platform toaiff
_hashlib encodings plistlib token
_heapq errno popen2 tokenize
_hotshot exceptions poplib trace
_io fcntl posix traceback
_json filecmp posixfile ttk
_locale fileinput posixpath tty
_lsprof fnmatch pprint turtle
_md5 formatter profile types
_multibytecodec fpformat pstats unicodedata
_multiprocessing fractions pty unittest
_pyio ftplib pwd urllib
_random functools py_compile urllib2
_sha future_builtins pyclbr urlparse
_sha256 gc pydoc user
_sha512 genericpath pydoc_data uu
_socket getopt pyexpat uuid
_sre getpass quopri warnings
_ssl gettext random wave
_strptime glob re weakref
_struct grp repr webbrowser
_symtable gzip resource whichdb
_testcapi hashlib rexec wsgiref
_threading_local heapq rfc822 xdrlib
_warnings hmac rlcompleter xlwt
_weakref hotshot robotparser xml
_weakrefset htmlentitydefs runpy xmllib
abc htmllib sched xmlrpclib
aifc httplib select xxsubtype
antigravity idlelib sets zipfile
anydbm ihooks setuptools zipimport
argparse imaplib sgmllib zlib
array imghdr sha
Qualquer ajuda será muito apreciada!