pyqtdeploy and Pillow

Charlie Iturriaga <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAPowgJhGLpGzdxnUvS5UyDD3yqVq_=SB+iWdsbv-h_jc=ufvfg@mail.gmail.com>
Hi, I am working succesfully with pyqtdeploy for a pretty extensive
application. I just tried to add a pillow import, and I am getting the
following error when executing the application:

from PIL import Image,ImageDraw,ImageFont
  File "bootstrap.py", line 1035, in _handle_fromlist
  File "bootstrap.py", line 219, in _call_with_frames_removed
  File "bootstrap.py", line 983, in _find_and_load
  File "bootstrap.py", line 967, in _find_and_load_unlocked
  File "bootstrap.py", line 668, in _load_unlocked
  File "bootstrap.py", line 638, in _load_backward_compatible
  File ":/PIL/Image.py", line 93, in <module>
ImportError: cannot import name '_imaging' from 'PIL' (:/PIL/__init__.pyo)

I guess a plugin module needs to be created, but can't find a lot of
information on how to do it.

Anybody has a guide to make Pillow work with pyqtdeploy?

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.