Installing Lightweight Python

Nima Mohammadi nima.irt at gmail.com
Mon May 17 17:04:18 EDT 2010


On May 18, 12:30 am, geremy condra <debat... at gmail.com> wrote:
> On Mon, May 17, 2010 at 1:05 PM, Nima <nima.... at gmail.com> wrote:
> > 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".
>
> is the zlib module among the files you've compressed?
>
> Geremy Condra

zlib.so is a shared library which is in the /lib/python2.6/lib-
dynload/ directory.
In PEP 273 is noted that:

> Any files may be present in the zip archive, but only files
> *.py and *.py[co] are available for import.  Zip import of
> dynamic modules (*.pyd, *.so) is disallowed.

http://www.python.org/dev/peps/pep-0273/

--
Yours sincerely,
Nima Mohammadi



More information about the Python-list mailing list