Pergunta

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

Foi útil?

Solução

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

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top