Skip to content

Not compatible with python-pillow 6.0 #108

Description

@mlmatlock

OS: Manjaro 18.0.4
Kernel: 5.0.6
pysolfc 2.4.0:
python: 3.7.3
python-pillow: 6.0.0

Problem:

Update to python-pillow (pulled by upgrade to hplip). Starting pysol results with:

`
merell@Jammin1 ~]$ pysol &
[1] 7227
[merell@Jammin1 ~]$ Traceback (most recent call last):
File "/usr/bin/pysol", line 37, in
from pysollib.main import main # noqa: E402
File "/usr/lib/python3.7/site-packages/pysollib/main.py", line 32, in
from pysollib.util import DataLoader
File "/usr/lib/python3.7/site-packages/pysollib/util.py", line 30, in
from pysollib.mfxutil import Image
File "/usr/lib/python3.7/site-packages/pysollib/mfxutil.py", line 54, in
if TOOLKIT == 'tk' and Image and Image.VERSION >= '1.1.7':
AttributeError: module 'PIL.Image' has no attribute 'VERSION'

`
Downgrading python-pillow, and pysol runs correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions