numpy 1.9.2 + MKL与py2exe打包在一起时出现OMP警告 [英] OMP warning when numpy 1.9.2+MKL is packaged with py2exe
问题描述
当我使用py2exe将python应用程序打包到单个exe时,会收到以下警告
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.
是否可以隐藏警告或解决问题. numpy 1.8.0发布了一个类似的问题,其中使用numpy 1.8.1rc1解决了该问题.我已经在使用最新版本的numpy.
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.
平台信息 Windows 7的 WinPython-32bit-2.7.9.5
Platform Info Windows 7 WinPython-32bit-2.7.9.5
推荐答案
如果您是从python(x,y)获得numpy的,请尝试从sourceforge获得numpy官方的.之前我有py2exe和python(x,y)的numpy出现了类似的问题.
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).
这篇关于numpy 1.9.2 + MKL与py2exe打包在一起时出现OMP警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!