Python Forum

Full Version: pil ImageFont error inflateReset2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to use PIL's ImageFont tool, but I am getting an unusual error message. PIL installs without any problems and I can use other parts of it like Image and ImageDraw. But when I run
from PIL import ImageFont
a window opens with an error message that reads:

Error:
The procedure entry point inflateReset2 could not be located in the dynamic link library C:\Program Files\Inkscape\bin\libpng16-16.dll.
What is causing this error, and How do I fix it? I am using Windows 10 with the IDE Thonny 3.2.7 with Python 3 64-bit.