Skip to content Skip to sidebar Skip to footer

Can Not Import Numpy In Boost-python

I am trying out boost-python. However, even a simple hello world doesn't work. #define BOOST_PYTHON_STATIC_LIB #include #include 'numpy/

Solution 1:

I solved the problem by by realizing that the Anaconda2 on my windows was not registered during installation (even sys.path is the same as that in IPython), I uninstalled it and reinstalled it, during installation I chose to register in the windows, now my code is working fine.


Post a Comment for "Can Not Import Numpy In Boost-python"