开发者

Steps on howto install PySide on windows

开发者 https://www.devze.com 2023-01-15 09:51 出处:网络
I followed what they said at pyside.org but somehow i can\'t get it to work. I downloaded the two files that they are linking from their site (qt libraries and pyside for python 2.6)

I followed what they said at pyside.org but somehow i can't get it to work. I downloaded the two files that they are linking from their site (qt libraries and pyside for python 2.6)

When I try one of their examples I get the following message:

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.
开发者_运维问答

I use python 2.6.4 and windows 7


You need to add the QT bin directory ("C:\Qt\4.6.3\bin") to your path environment variable.


The situation with Windows binaries significantly improved in 1.0.0 release. Try newer installers from downloads page.


There is a similar question on Installing PySide - Windows 8

You can simple use

pip install PySide 

to install it.

0

精彩评论

暂无评论...
验证码 换一张
取 消