2010-09-10 69 views
6

我遵循他们在pyside.org上所说的话,但不知何故我无法使其工作。 我下载了两个文件,他们正在从他们的网站链接(Qt库和pyside为Python 2.6)关于如何在Windows上安装PySide的步骤

当我尝试自己的例子之一,我得到了以下信息:

Traceback (most recent call last): 
    File "2dpainting.py", line 28, in <module> 
    from PySide.QtCore import * 
ImportError: DLL load failed: The specified module could not be found. 

我使用Python 2.6 .4和windows 7

回答

6

您需要将QT bin目录(“C:\ Qt \ 4.6.3 \ bin”)添加到您的路径环境变量中。

+0

谢谢!我将你提到的目录添加到环境变量“Path”中。 – Forested 2010-09-10 19:43:39

+1

不客气。如果它解决了你的问题,请除了答案。 – Mark 2010-09-10 19:50:28