Skip to content

PyQt4 runtime incompatible with Pillow 2.6 (using PyQt5) #1316

@flying-sheep

Description

@flying-sheep

when loading an image and later ImageViewer, things break because Pillow 2.6 loads PyQt5.

On Pillow master, this can be circumvented by manually importing PyQt4.QtGui since python-pillow/Pillow@f3284e5: if 'PyQt4.QtGui' not in sys.modules

it would of course be useful if you switched to PyQt5, anyway.

/edit: yeah, definitely. matplotlib also uses PyQt5.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions