[Stackless] ImportError: zlib not found

Terrence Brannon metaperl.hitech at gmail.com
Wed Oct 22 12:15:00 CEST 2008


Hello, I need zlib under Stackless Python (because virtualenv uses it).

import zlib doesnt says 'No module named zlib' under stackless but not 
under
normal Python.

I have tried this with the 2.6 and 2.52 versions of Stackless on ubuntu 
(running on virtualbox) with no success:

terrence at terrence-laptop ~/downloads/stackless-26-export : python
Python 2.6 Stackless 3.1b3 060516 (trunk, Oct 22 2008, 05:58:25)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import zlib
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: No module named zlib
 >>> import sys
 >>> sys.path
['', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', 
'/usr/local/lib/python2.6/plat-linux2', 
'/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old', 
'/usr/local/lib/python2.6/lib-dynload', 
'/usr/local/lib/python2.6/site-packages']
 >>>
terrence at terrence-laptop ~/downloads/stackless-26-export : find 
/usr/local/lib/python2.6 -name '*zlib*'
/usr/local/lib/python2.6/test/test_zlib.py
/usr/local/lib/python2.6/test/test_zlib.pyc
/usr/local/lib/python2.6/test/test_zlib.pyo
/usr/local/lib/python2.6/encodings/zlib_codec.pyo
/usr/local/lib/python2.6/encodings/zlib_codec.py
/usr/local/lib/python2.6/encodings/zlib_codec.pyc
terrence at terrence-laptop ~/downloads/stackless-26-export :


-- 
Non-linear floating words - http://groups.google.com/group/odd-musings
Ambient floating blog - http://ohfloat.com
Floating mindmap - http://static.livingcosmos.org/super-scio/floating/
The mothership - http://www.LivingCosmos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20081022/d214e8cb/attachment.htm>


More information about the Stackless mailing list