Steps on howto install PySide on windows
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.
精彩评论