Closed sandeepklr closed 10 years ago
I haven't tested with numpy 1.6.2 recently (I'm on 1.8.1), but I can't think of anything that would cause an error like that due to different versions. The setup.py script includes the numpy headers based on the numpy that python imports.
Maybe the numpy headers that were used when the code was built are different from the numpy library that is being loaded in ipython. Do you have two different python installations on your system? You might try running python (rather than ipython) and importing to see if it makes a difference.
Actually, that did make a difference. For some reason that I haven't figured out yet, ipython imports an older version of numpy(1.6.0) from somewhere. However, putting it in a script and running it did import the right version of numpy that I have installed(1.8.0). Thanks for your prompt answer.
I managed to build the pyhsmm package on Mac OSX 10.9.3, however when I try and import pyhsmm in ipython, this is the error I get. Any pointers or advice will be really helpful. Is this because I am using an incompatible version of numpy(1.6.2)?