Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
我使用的是python3.6、numpy1.12.0和building主.cpp在x64调试模式下。我也在用Cmake来构建。
我找了很多,但找不到有效的解决办法。
我改为使用助推器/Python.hpp头文件。虽然我是在调试模式下构建应用程序,但它没有使用python的调试版本。numpy的导入正在工作。在
相关问题 更多 >
编程相关推荐