encounter error while it's testing
Hi,everybody. I have installed scipy with commend:"pip install scipy" (OSX lion 10.7.4) But I encounter error while testing.BTW,the test of numpy is OK. I input:
import scipy scipy.test()
And this is the respond: Running unit tests for scipy NumPy version 1.8.0.dev-e60c70d NumPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy SciPy version 0.12.0.dev-858610f SciPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy Python version 2.7.3 (default, Apr 19 2012, 00:55:09) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] nose version 1.1.2 .....................................................................................................................................................................................F.FFPython(334,0x7fff7d1a2960) malloc: *** error for object 0x7fa0544e7f28: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Abort trap: 6
On Wed, Sep 5, 2012 at 8:50 AM, 心如烛光 <275438859@qq.com> wrote:
Hi,everybody. I have installed scipy with commend:"pip install scipy" (OSX lion 10.7.4) But I encounter error while testing.BTW,the test of numpy is OK.
gcc-llvm (the default gcc) is known to not work with scipy. It may a bug in gcc-llvm (or, more unlikely, in scipy). I recommend you use the binaries with the python from python.org website, or to use clang to build it on lion. David
participants (2)
-
David Cournapeau
-
心如烛光