I am having some trouble importing the module, or more specifically the problem is with importing numpy. The path and working directory should be correct, but still one of the files fails.
Traceback (most recent call last):
File "C:/Bruker/TopSpin3.5.b.88pl7/exp/stan/nmr/py/user/pulcon_test.py", line 15, in <module>
import nmrglue
File "C:\Users\jrahkila\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\nmrglue\__init__.py", line 1, in <module>
from .fileio import *
File "C:\Users\jrahkila\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\nmrglue\fileio\__init__.py", line 1, in <module>
from . import bruker
File "C:\Users\jrahkila\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\nmrglue\fileio\bruker.py", line 34, in <module>
import numpy as np
File "C:\Users\jrahkila\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\numpy\__init__.py", line 142, in <module>
from . import add_newdocs
File "C:\Users\jrahkila\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "C:\Users\jrahkila\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
from .type_check import *
ImportError: No module named type_check
If I add the numpy\lib folder to sys.path, it works, but then gives me another error. I have tried with both python versions 3.5 and 2.7 .