OMP warning when numpy 1.9.2+MKL is packaged with py2exe

北城以北 提交于 2019-12-08 08:32:10

问题


I get the following warning when i package my python application using py2exe to a single exe

OMP: Warning #178: Function GetModuleHandleEx failed:
OMP: System error #126: The specified module could not be found.

is there a way to hide the warning or to fix the issue. A similar issue was posted with numpy 1.8.0 where the issue was resolved using numpy 1.8.1rc1. I am already using the latest version of numpy.

Platform Info Windows 7 WinPython-32bit-2.7.9.5


回答1:


if you got numpy from python(x,y), then try the numpy official one from sourceforge. I had a similar issue previously with py2exe and numpy from python(x,y).



来源:https://stackoverflow.com/questions/30461231/omp-warning-when-numpy-1-9-2mkl-is-packaged-with-py2exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!