py2exe:MKL 致命错误:无法加载 mkl_intel_thread.dll [英] py2exe: MKL FATAL ERROR: Cannot load mkl_intel_thread.dll

查看:77
本文介绍了py2exe:MKL 致命错误:无法加载 mkl_intel_thread.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 py2exe 中编译一个 python 程序.它返回了一堆丢失的模块,当我运行可执行文件时,它说:"MKL致命错误:无法加载mkl_intel_thread.dll"

I'm trying to compile a python program in py2exe. It is returning a bunch of missing modules, and when I run the executable, it says: "MKL FATAL ERROR: Cannot load mkl_intel_thread.dll"

我所有的非绘图"脚本都运行良好,只有使用matplotlib"和pyqtgraph"的脚本不起作用.

All my 'non-plotting' scripts work perfectly, just scripts utilizing 'matplotlib', and 'pyqtgraph' don't work.

我什至在 Numpy/Core/mkl_intel_thread.dll 中找到了该文件,并将其放入带有 .exe 的文件夹中,但它仍然不起作用.有没有人知道如何解决这个问题?

I've even found the file in Numpy/Core/mkl_intel_thread.dll, and placed it into the folder with the .exe, and it still doesn't work. Does anyone have any idea how this can be solved?

我使用的是 Anaconda Python 3.4 和 matplotlib 1.5.1

I'm using Anaconda Python 3.4, and matplotlib 1.5.1

推荐答案

没关系!通过将所需的dll从numpy/core内部复制到py2exe创建的dist文件夹中,而不是在其外部,我设法解决了这个问题.

Never mind! I managed to solve it, by copying the required dll from inside numpy/core, into the dist folder that py2exe creates, not outside of it.

这篇关于py2exe:MKL 致命错误:无法加载 mkl_intel_thread.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆