[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] pyqtdeploy and Pillow
From:       Charlie Iturriaga <vectorcharlie () gmail ! com>
Date:       2019-06-16 19:54:44
Message-ID: CAPowgJhGLpGzdxnUvS5UyDD3yqVq_=SB+iWdsbv-h_jc=ufvfg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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?

[Attachment #5 (text/html)]

<div dir="ltr">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:<div><br></div><div>from PIL import \
Image,ImageDraw,ImageFont<br>   File &quot;bootstrap.py&quot;, line 1035, in \
_handle_fromlist<br>   File &quot;bootstrap.py&quot;, line 219, in \
_call_with_frames_removed<br>   File &quot;bootstrap.py&quot;, line 983, in \
_find_and_load<br>   File &quot;bootstrap.py&quot;, line 967, in \
_find_and_load_unlocked<br>   File &quot;bootstrap.py&quot;, line 668, in \
_load_unlocked<br>   File &quot;bootstrap.py&quot;, line 638, in \
_load_backward_compatible<br>   File &quot;:/PIL/Image.py&quot;, line 93, in \
&lt;module&gt;<br>ImportError: cannot import name &#39;_imaging&#39; from \
&#39;PIL&#39; (:/PIL/__init__.pyo)</div><div><br><div>I guess a plugin module needs \
to be created, but can&#39;t find a lot of information on how to do \
it.</div><div><br></div><div>Anybody has a guide to make Pillow work with \
pyqtdeploy?</div></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic