QtCreator启动报错 “由于找不到python36.dll”

qtCreator启动报错 “由于找不到python36.dll,无法继续执行代码。重新安装程序可能会解决此问题。“

按照网上的教程

1.下载python36.dll,网址:https://www.python.org/;或者在python安装目录下找到python36.dll,我的路径是:C:UsersjsgAnaconda3

2.将python36.dll放入目录C:WindowsSystem32文件夹中即可

还是报错,最后找到了问题所在,解决了这个报错。

原因如下:

that error is related to LLVM. It pops up when QtCreator tries to load lldb (the LLVM debugger) that crashes because of the missing dll. You can verify by opening a command prompt and typing lldb.

I don know why someone decided it was a good idea to package llvm without a required dll but heres how i fixed the error:

dowload a python 3.6 prebuilt package like

copy python36.dll to the lldb.exe folder (where lldb in a command prompt, mine is installed in C:Program FilesLLVMin)

经验分享 程序员 微信小程序 职场和发展