[SciPy-user] SciPy setup problem under RH 7.3

Dave Bazell bazell at comcast.net
Wed Dec 4 14:45:45 EST 2002


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


Python 2.2.2 (#1, Oct 21 2002, 12:22:55) 
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help()

Welcome to Python 2.2!  This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://www.python.org/doc/tut/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics".  Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".

help> Help on module numeric_version:

NAME
    numeric_version

FILE
    /usr/local/lib/python2.2/site-packages/Numeric/numeric_version.py

DATA
    __file__ = '/usr/local/lib/python2.2/site-packages/Numeric/numeric_ver...
    __name__ = 'numeric_version'
    version = '22.0'


help> 
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
>>> 
>>> import scipy
>>> 
>>> scipy.test()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'test'
>>> 
>>> 

Any help would be appreciated.

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20021204/f99791b7/attachment.html>


More information about the SciPy-User mailing list