2
回答
PyQt4 安装后为什么各种找不到DLL呢?
终于搞明白,存储TCO原来是这样算的>>>   

对应的 Python 3.3

纠结的连Qt5 都下了 还是缺dll

纠结啊 一直搞web的 这方面不懂 熟悉的兄弟指点下 .

举报
共有2个答案 最后回答: 5年前

我想基于python3.3安装pyqt4,但是安装后想import PyQt4.QtGui的时候老是提示说

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 21, in <module>
    import apt_pkg
ImportError: No module named 'apt_pkg'


Original exception was:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name QtGui


求指教

顶部