我正在使用Python 3.4和pip 10.0.1。使用pyinstaller为Tkinter项目运行生成的可执行文件时出现错误
执行Mytool.exe文件时出现错误:
MKL FATAL EOOR: Cannot load mkl_intel_thread.dll
我从在线论坛上获得了一些建议,在那里我找到了一些解决pyinstaller错误的方法。
我正在将numpy
和intel_mkl
升级到最新版本(numpy-1.15.4+mkl-cp27-cp27m-win_amd64.whl
)。
我已经使用了命令:
pip install C:\Users\PRADEEP\Downloads\numpy-1.15.4+mkl-cp27-cp27m-win_amd64.whl
我遇到以下错误。
numpy-1.15.4+mkl-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
我已经使用以下命令升级了点子:
python -m pip install --upgrade pip
现在拥有最新版本的点子:19.1.1
当我再次尝试使用最新版本的pip时,出现以下错误:
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
ERROR: numpy-1.15.4+mkl-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.`m
从以上过程中我知道,某些软件包(例如pip)不支持Python 3.4。
我想为我的Python Tkinter项目成功创建一个可执行文件。