scipy

P

pb

Hi,
I', having trouble with scipy. I have followed the instructions at
scipy website and have installed the following on my mac osx 10.6.6

NumPy version 1.5.1
NumPy is installed in /Library/Frameworks/Python.framework/Versions/
2.6/lib/python2.6/site-packages/numpy
SciPy version 0.8.0
SciPy is installed in /Library/Frameworks/Python.framework/Versions/
2.6/lib/python2.6/site-packages/scipy
Python version 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) [GCC 4.0.1
(Apple Inc. build 5493)]
nose version 1.0.0

When I run the test scipy.test('1','10')

some items seem to pass:

test_streams.test_make_stream(True,) ... ok

Some tests seem to be skipped:

nose.selector: INFO: /Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/scipy/io/matlab/mio5_utils.so is
executable; skipped

some seem to fail:
/Users/user/.python26_compiled/m7/module_multi_function.cpp:13:19:
error: complex: No such file or directory

and

======================================================================
ERROR: test_string_and_int (test_ext_tools.TestExtModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/scipy/weave/tests/test_ext_tools.py", line 72,
in test_string_and_int
mod.compile(location = build_dir)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/scipy/weave/ext_tools.py", line 367, in
compile
verbose = verbose, **kw)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/scipy/weave/build_tools.py", line 273, in
build_extension
setup(name = module_name, ext_modules = [ext],verbose=verb)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/numpy/distutils/core.py", line 186, in setup
return old_setup(**new_attr)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/distutils/core.py", line 169, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: Command "c++ -fno-strict-aliasing -fno-common -
dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386
-g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/
2.6/lib/python2.6/site-packages/scipy/weave -I/Library/Frameworks/
Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/weave/
scxx -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
site-packages/numpy/core/include -I/Library/Frameworks/
Python.framework/Versions/2.6/include/python2.6 -c /Library/Frameworks/
Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/weave/
scxx/weave_imp.cpp -o /var/folders/4b/4bhByeH9HSuDIezfnSZ6G++++TI/-
Tmp-/user/python26_intermediate/
compiler_7ca1591dfd3261e140e707030a00840e/Library/Frameworks/
Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/weave/
scxx/weave_imp.o" failed with exit status 1

with the final result being:

FAILED (KNOWNFAIL=15, SKIP=40, errors=242, failures=2)
<nose.result.TextTestResult run=5282 errors=242 failures=2>

I'm assuming I have the wrong version of something, would that be
right?
Does anyone know how I can fix this?

thanks,
Peter
 
T

Terry Reedy

Hi,
I', having trouble with scipy.

If you do not get an answer here, try the scipy list where scipy experts
hang out. You might also try searching the archives of that list or the
scipy bug tracker.
 
P

pb

If you do not get an answer here, try the scipy list where scipy experts
hang out. You might also try searching the archives of that list or the
scipy bug tracker.

Hi,
the scipy mailing list?
Thanks,
Peter
 
P

pb

http://www.scipy.org/Mailing_Lists

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

Thanks,
I have tried to register for the mailing lists there, but cannot
loggin and have received no "registration comfirmation email" from
them. I'd email the list maintainer/admin, but cannot find an email
address for them.
Peter
 
H

Hans Georg Schaathun

I', having trouble with scipy. I have followed the instructions at
: scipy website and have installed the following on my mac osx 10.6.6
: (...)
: I'm assuming I have the wrong version of something, would that be
: right?
: Does anyone know how I can fix this?

I had the same problem, but assumed that it was more likely to be
a bug in the unit tests than a bug anywhere else. But then I mainly
use linux boxen to run the stuff, so a bug on the mac installation
does not bother me much. Installing software on a mac is just painful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top