[PyQt] pyqt5 ImportError: cannot import name 'QGraphicsItemAnimation'

Phil Thompson phil at riverbankcomputing.com
Thu Feb 12 22:55:23 GMT 2015

On 12/02/2015 6:33 am, Alan Ezust wrote:
> [ezust at cerberus]
> /usr/share/doc/pyqt5-examples/examples/graphicsview/dragdroprobot> 
> python3
> dragdroprobot.py
> Traceback (most recent call last):
>   File "dragdroprobot.py", line 49, in <module>
>     from PyQt5.QtWidgets import (QApplication, QGraphicsItem,
> ImportError: cannot import name 'QGraphicsItemAnimation'
> Is the class missing from PyQt5?

I've fixed the example.


More information about the PyQt mailing list