如何在Python3.4中使用PyQt 4.x?

2024-10-04 13:21:59 发布

您现在位置:Python中文网/ 问答频道 /正文

我想知道如何在WindowsXP(32位)上使用Python3.4.4中的PyQt 4.x。在

我尝试从this页安装PyQt4-4.11.3-gpl-Py3.4-Qt4.8.6-x32.exe。在

我可以命令import PyQt4,它不会显示任何错误,但我不能导入或使用其他任何东西。例如

from PyQt4.QtGui import *
from PyQt4.QAxContainer import *
from PyQt4.QtCore import *

只产生ImportError: DLL load failed: The specified module could not be found错误。在

python3.4.4是否与PyQt4-4.11.3不兼容?我希望能得到一些帮助。在


Tags: fromimport命令错误gplthisexepyqt