[SciPy-user] newbie ask for help
Jing (George) Cao
jcao at cs.uchicago.edu
Tue Sep 17 16:37:22 EDT 2002
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 Linux
> > machine?
> >
> > I have no access to /opt, so I want to install it in my home 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 at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
More information about the SciPy-User
mailing list