Installing Lightweight Python

Nima nima.irt at gmail.com
Mon May 17 16:05:29 EDT 2010


Well, I tried to run Python with -v option. It seems that python26.zip is
partially loaded but can't be used, because zlib is "unavailable".

nima at nima-desktop:~/py$ ./bin/*python -v*
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
*# zipimport: found 2509 names in /home/nima/py/lib/python26.zip*
# zipimport: *zlib UNAVAILABLE*
'import site' failed; traceback:
*zipimport.ZipImportError: can't decompress data; zlib not available
# zipimport: zlib UNAVAILABLE*
Python 2.6.5 (r265:79063, May 17 2010, 18:36:54)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/home/nima/py/lib/python26.zip', '/home/nima/py/lib/python2.6/',
'/home/nima/py/lib/python2.6/plat-linux2',
'/home/nima/py/lib/python2.6/lib-tk', '/home/nima/py/lib/python2.6/lib-old',
'/home/nima/py/lib/lib-dynload']


-- 
*Yours sincerely,
Nima Mohammadi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100518/41ce1494/attachment-0001.html>


More information about the Python-list mailing list