Anonymous - 2016-07-12

I would like to use numpy (and matpltlib) from an NGSpy script (on my Mac running 10.11.5 with python3.5.2 from HomeBrew and the dmg version of netgen/ngsolve). I have used pip3 to download numpy and checked it worked in regular python3.5. But in the NGSpy (python shell of Netgen/NGsolve) I get

import numpy as np
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/init.py", line 180, in <module>
from . import add_newdocs
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/lib/init.py", line 8, in <module>
from .type_check import *
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/init.py", line 14, in <module>
from . import multiarray
SystemError: initialization of multiarray raised unreported exception

Could this be a path problem....?