I have a script with the statement '*from PIL import ImageFont, ImageDraw, 
Image*'.
The scripts runs fine in interpreter mode.
I have compiled it with pyinstaller ('--onedir'). Everything ran smoothly.
However, when I launched the 'exe', I got this error:





*Traceback (most recent call last):  File "Palm.py", line 381, in <module>  
File "<string>", line 1, in <module>  File 
"c:\Users\USER\OneDrive\Python\apps\fPitch\fPitch7.py", line 31, in 
calibrate    from PIL import ImageFont, ImageDraw, ImageImportError: cannot 
import name 'ImageFont' from 'PIL' 
(C:\Users\USER\OneDrive\Python\apps\Palm\version 
7\dist\Palm\PIL\__init__.pyc)*
Any suggestion for a fix? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/c2d13d03-592d-4e24-89c9-de60c572a9efn%40googlegroups.com.

Reply via email to