Qt Designer 启动时出错:代码执行无法继续,因为未找到 MSVCP140_1.dll

Qt Designer Error on startup: the code execution cannot proceed because MSVCP140_1.dll was not found

我正在尝试学习 PyQt,但每次我 运行 Qt 设计器时,它都会因系统错误而失败 - 'the code execution cannot proceed because MSVCP140_1dll was not found. Reinstalling the program may fix this problem'。我应该怎么做才能修复此错误?我使用 python 3.8.3 并且安装了 visual studio 2019.

打开 QtDesigner 与您的 python 版本和 IDE 无关。这很可能是安装损坏或 OS 问题。

尝试从此 link 重新安装 QtDesigner:https://build-system.fman.io/static/public/files/Qt%20Designer%20Setup.exe

如果还是不行,很可能是由于 .dll 缺失导致的 C++ 编译器错误。这是有关如何修复该错误的视频:https://www.youtube.com/watch?v=5XJ8_kUjVlk