[PyQt] PyQt5.5 demo problem on Windows 64 Python 3.4 ?

Big Stone stonebig34 at gmail.com
Thu Jul 23 18:48:36 BST 2015


hi ,

I'm not sure to have installed PyQt5.5 right, but I have an error when
launching the demo.exe:


python \Lib\site-packages\PyQt5\examples\qtdemo\qtdemo.py
Traceback (most recent call last):
  File "\Lib\site-packages\PyQt5\examples\qtdemo\qtdemo.py", line 77, in
<module>     MenuManager.instance().init(mainWindow)
  File "\Lib\site-packages\PyQt5\examples\qtdemo\menumanager.py", line 331,
in init
    self.createTicker()
  File "\Lib\site-packages\PyQt5\examples\qtdemo\menumanager.py", line 748,
in createTicker
    DemoItemAnimation.ANIM_IN)
  File "\Lib\site-packages\PyQt5\examples\qtdemo\demoitemanimation.py",
line 52, in __init__
    super(DemoItemAnimation, self).__init__(item, 'pos')
TypeError: arguments did not match any overloaded call:
  QPropertyAnimation(QObject parent=None): too many arguments
  QPropertyAnimation(QObject, QByteArray, QObject parent=None): argument 2
has unexpected type 'str'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150723/71e6260d/attachment.html>


More information about the PyQt mailing list