在64位Windows 8.1系统上的Numpy.Test()期间可重复的错误

时间:2015-03-13 13:19:31

标签: python windows python-3.x numpy anaconda

我下载了Python 3.4.3并检查了md5。它是完美的。然后我使用AMD处理器和Windows 8.1在我的64位系统上安装了Python 3.4.3。然后,我做了'pip install nose',效果很好。

在此之后,我从Gohlke's site下载了'numpy-1.9.2 + mkl-cp34-none-win_amd64.whl'。然后,我按如下方式成功安装了numpy:

C:\Python34\Scripts>pip install "c:\Users\axsvl\Downloads\numpy-1.9.2+mkl-cp34-none-win_amd64.whl"
Processing c:\users\axsvl\downloads\numpy-1.9.2+mkl-cp34-none-win_amd64.whl
Installing collected packages: numpy

Successfully installed numpy-1.9.2

在此之后,我用'import numpy'测试numpy; numpy.test(verbose = 2)'如下:

Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy; numpy.test(verbose=2)
Running unit tests for numpy
NumPy version 1.9.2
NumPy is installed in C:\Python34\lib\site-packages\numpy
Python version 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64
 bit (AMD64)]
nose version 1.3.4
test_complex (test_abc.ABC) ... ok
test_floats (test_abc.ABC) ... ok
test_int (test_abc.ABC) ... ok
test_uint (test_abc.ABC) ... ok
test_api.test_array_array ... ok
test_api.test_fastCopyAndTranspose ... ok
test_api.test_array_astype ... ok
test_api.test_copyto_fromscalar ... ok
test_api.test_copyto ... ok
test_api.test_copyto_permut ... ok
test_api.test_copy_order ... ok
test_api.test_contiguous_flags ... ok
test_api.test_broadcast_arrays ... ok
Basic test of array2string. ... ok
Test custom format function for each element in array. ... ok
This should only apply to 0-D arrays. See #1218. ... ok
test_arrayprint.TestArrayRepr.test_nan_inf ... ok
test_str (test_arrayprint.TestComplexArray) ... ok
test_arrayprint.TestPrintOptions.test_basic ... ok
test_arrayprint.TestPrintOptions.test_formatter ... ok
test_arrayprint.TestPrintOptions.test_formatter_reset ... ok
test_arrayprint.test_unicode_object_array ... ok
Ticket 844. ... ok
test_blasdot.test_blasdot_used ... ok
test_blasdot.test_dot_2args ... ok
test_blasdot.test_dot_3args ...

此时,弹出窗口错误并显示:

python.exe has stopped working
Windows can check online for a solution to the problem

我的错误与此thread相同。当我进行直接安装(如上所述)或在Anaconda Python中执行时,我的系统会准确地重现错误。

我在安装的Windows 7计算机上没有此问题。

下一步是什么?我想学习如何解决这个问题。我最初只是anaconda的用户,现在我正在学习一些有趣的事情。

0 个答案:

没有答案