[SciPy-user] SciPy setup problem under RH 7.3
Pearu Peterson
pearu at cens.ioc.ee
Wed Dec 4 15:36:30 EST 2002
On Wed, 4 Dec 2002, Dave Bazell wrote:
> I just tried installing scipy on my redhat 7.3 system. I installed
> the fftw package and the numpy (numeric22) package and then the scipy
> package. When I start python and try to access scipy to run the test
> module I get some errors and the tests don't run. Perhaps someone can
> seem my error and enlighten me. I have included printout to detail
> the problems
>
> You are now leaving help and returning to the Python interpreter.
> If you want to ask for help on a particular object directly from the
> interpreter, you can type "help(object)". Executing "help('string')"
> has the same effect as typing a particular string at the help> prompt.
> >>>
> >>> import scipy
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.2/site-packages/scipy/__init__.py", line 41, in ?
> from handy import *
> File "/usr/local/lib/python2.2/site-packages/scipy/handy.py", line 1, in ?
> import Numeric
> File "/usr/local/lib/python2.2/site-packages/Numeric/Numeric.py", line 93, in ?
> from Precision import *
> File "/usr/local/lib/python2.2/site-packages/Numeric/Precision.py", line 26, in ?
> _code_table = _fill_table(typecodes)
> File "/usr/local/lib/python2.2/site-packages/Numeric/Precision.py", line 23, in _fill_table
> table[key] = _get_precisions(value)
> File "/usr/local/lib/python2.2/site-packages/Numeric/Precision.py", line 18, in _get_precisions
> lst.append( (zeros( (1,), t ).itemsize()*8, t) )
> ValueError: Invalid type for array
This is just a wild guess: did you have some older version of Numeric
installed before? If yes, could you check that Numeric install acctually
copied the latest version of arrayobject.h to
/usr/local/include/python2.2/Numeric?
Pearu
PS: Please turn off html when sending messages to this list.
More information about the SciPy-User
mailing list