1
소스에서 컴파일하여 Mac OS X (Mountain Lion)에 Numpy와 Scipy를 설치했습니다.Scipy 테스트 문제 - 해제되는 포인터가 할당되지 않았습니다.
수치 테스트 결과가 좋습니다. 그러나 scipy 테스트에 문제가 있습니다.
In [1]: import scipy
In [2]: scipy.test()
Running unit tests for scipy
NumPy version 1.6.2
NumPy is installed in /usr/local/lib/python2.7/site-packages/numpy
SciPy version 0.11.0
SciPy is installed in /usr/local/lib/python2.7/site-packages/scipy
Python version 2.7.3 (default, Dec 4 2012, 00:30:38) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))]
nose version 1.2.1
.....................................................................................................................................................................................
F.FFPython(66098,0x7fff74ae5180) malloc: *** error for object 0x7fe9cb2e07b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
아무도이 문제를 해결하는 방법을 알고 있습니까?
pv로 보내 주신 버그 감사합니다.
test_definition (test_basic.TestDoubleIFFT) ... FAIL
test_definition_real (test_basic.TestDoubleIFFT) ... ok
test_djbfft (test_basic.TestDoubleIFFT) ... FAIL
test_random_complex (test_basic.TestDoubleIFFT) ... FAIL
Python(66990,0x7fff74ae5180) malloc: *** error for object 0x7f9f53d8dec0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
나머지 테스트에 대해서는 궁금합니다. 이 실패한 테스트가 유일한 문제라면 괜찮을 것입니다.
이 실패한 테스트를 건너 뛰고 나머지 작업을 계속 수행하려면 어떻게해야합니까? scipy.test("full", verbose=2)
와
을 이 실패한 테스트가 유일한 문제인 경우 이 실패한 테스트를 건너 뛰고 나머지 테스트를 계속하려면 어떻게해야합니까? – reijz
https://github.com/numpy/numpy/blob/master/doc/TESTS.rst.txt를 참조하십시오. 대부분의 테스트 파일은 스스로 실행하고 nosetests 명령 (예 : https : //nose.readthedocs)을 통해 실행 가능합니다. .org/ko/latest / –