错误:模块:import_dll Library python34.dll(L“C:\\Python27\\lib\\sitepackages\\PyQt4需要它\\QtCore.pyd“)未找到

2024-04-26 13:17:08 发布

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

我已经在Ubuntu、python2.7和pyqt4上安装了wine。但是当我尝试导入pyqt4时,它显示了错误:

john@Ubuntu-python:~/.wine$ wine python

Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit    (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> from PyQt4.QtCore import * 

err:module:import_dll Library python34.dll (which is needed by L"C:\\Python27\\lib\\site-packages\\PyQt4\\QtCore.pyd") not found
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: Module not found.

Tags: importubuntu错误notjohndecmoduledll