尝试运行database.py的简单测试时:
import pymysql.cursor
from PyQt5.QtCore import pyqtSignal, QObject, QTimer
这是WingWare IDE的“例外”选项卡中的输出:
File "c:\MyProjects\___MECHANIKOS\UltraSimpleSarlaccPit\01_UltraSimpleSarlaccPit.py", line 1, in <module>
from database import Database
 File "c:\MyProjects\___MECHANIKOS\UltraSimpleSarlaccPit\database.py", line 2, in <module>
from PyQt5.QtCore import pyqtSignal, QObject, QTimer
builtins.ImportError: DLL load failed: The specified module could not be found.`
安装PyQt5时出错,表示它是为3.5而不是3.4而构建的。那是为什么呢? 如果是这样,我们在哪里可以下载3.4.3兼容版本?
谢谢!
此致 Team Mechanikos
答案 0 :(得分:0)
尝试升级到3.5:
作品。