pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt6
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt6-tools

运行 pyqt6-tools designer
发现出错,提示from PyQt5.QtGui import *ImportError: DLL load failed while importing QtGui

 怎么办?用pip list,发现有个包是6.3.1,其他的都是6.1.0

 那怎么办?强制版本重装:

 运行 pyqt6-tools designer

成功啦!

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐