import numpy causes error.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

import numpy causes error.

This post has NOT been accepted by the mailing list yet.

I'm building numpy from souce code with python 3.5.2 on nonstop system.

After that, when i call 'import numpy', i get error messages as following:

/home/stx/test_numpy/numpy3: /home/stx/python-job/nsk-python/Python-3.5.2/build-db1/python
Python 3.5.2 (default, May 26 2017, 22:41:48) [C] on nonstop_kernelL17
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/stx/.local/lib/python3.5/site-packages/numpy-1.13.0rc2-py3.5-nonstop_kernel-L17-NSX-B.egg/numpy/", line 142, in <module>
    from . import add_newdocs
  File "/home/stx/.local/lib/python3.5/site-packages/numpy-1.13.0rc2-py3.5-nonstop_kernel-L17-NSX-B.egg/numpy/", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/home/stx/.local/lib/python3.5/site-packages/numpy-1.13.0rc2-py3.5-nonstop_kernel-L17-NSX-B.egg/numpy/lib/", line 8, in <module>
    from .type_check import *
  File "/home/stx/.local/lib/python3.5/site-packages/numpy-1.13.0rc2-py3.5-nonstop_kernel-L17-NSX-B.egg/numpy/lib/", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/home/stx/.local/lib/python3.5/site-packages/numpy-1.13.0rc2-py3.5-nonstop_kernel-L17-NSX-B.egg/numpy/core/", line 34, in <module>
    from . import umath
SystemError: initialization of umath raised unreported exception

Can anyone give some help? Thank you very much.