version 2.95.1 what is module zlib and where is it? following error message always appears It seems i met some difficulties while starting using weave. Thank you any way.
import weave Traceback (most recent call last): File "<stdin>", line 1, in ? File "/u1/jcao/lib/python/weave/__init__.py", line 13, in ? from inline_tools import inline File "/u1/jcao/lib/python/weave/inline_tools.py", line 4, in ? import ext_tools File "/u1/jcao/lib/python/weave/ext_tools.py", line 10, in ? import catalog File "/u1/jcao/lib/python/weave/catalog.py", line 42, in ? import dumb_shelve as shelve File "/u1/jcao/lib/python/weave/dumb_shelve.py", line 2, in ? import zlib ImportError: No module named zlib
On Tue, 17 Sep 2002, eric jones wrote:
Hey Jing,
What version of Python are you on? Unittest is part of the standard python library as of Python 2.1. That is the oldest version of Python that weave and scipy are tested against.
eric
-----Original Message----- From: scipy-user-admin@scipy.net [mailto:scipy-user-admin@scipy.net] On Behalf Of Jing (George) Cao Sent: Tuesday, September 17, 2002 3:37 PM To: scipy-user@scipy.net Subject: Re: [SciPy-user] newbie ask for help
Thanks, I installed it now, but It still doesn't work.
I typed: python setup.py install --home /home/jcao/weavelib
sys.path.append('/home/jcao/weavelib/lib/python')
import weave
weave.test() Traceback (most recent call last): File "<stdin>", line 1, in ? File "weave/__init__.py", line 20, in test import unittest ImportError: No module named unittest
what's going on here? I try the trivial printf example of Inline, it doesn't work either.
error: Traceback (most recent call last): File "<stdin>", line 1, in ? File "weave/inline_tools.py", line 275, in inline call_frame = sys._getframe().f_back AttributeError: _getframe
Thank you very much for your help
Jing.
On Tue, 17 Sep 2002, Pearu Peterson wrote:
On Tue, 17 Sep 2002, Jing (George) Cao wrote:
hi, guys,
Can anybody tell me how to change WEAVE install directory in
machine?
I have no access to /opt, so I want to install it in my home
Linux directory.
Use
./setup.py install --home
and make sure that PYTHONPATH is properly set.
See ./setup.py install --help and Python Installation manuals for more information.
Pearu
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user