且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法在Boost-Python中导入numpy

更新时间:2022-05-04 09:32:38

我通过意识到在安装过程中未注册Windows上的Anaconda2(即使sys.path与IPython中的相同)也解决了该问题,卸载并重新安装它,在安装过程中,我选择在Windows中注册,现在我的代码可以正常工作了.

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.