Skip to main content
Participant
September 19, 2024
Question

python modules can't be imported since update to 10.1

  • September 19, 2024
  • 1 reply
  • 779 views

Hi

 

I have a couple of python plugins that stopped working after the recent Painter update to 10.1 . One part was caused by the switch from PySide2 to PySide6. This was easy to fix thanks to the proper documentation in the release notes. 

 

My other issue is, that the pillow (PIL) modules can't be loaded anymore. They were installed with pip on my PC (no virtual environment). No Problem with Painter 10.0 whatsoever. But Painter 10.1 can't load it anymore. I can revert to Painter 10.0 and immediately all plugins work again.

 

The script already fails at the "from PIL import Image" line: [Python] ModuleNotFoundError: No module named 'PIL'

 

What could be the cause? (maybe the switch to python 3.11). Is there any solution to this?

1 reply

Participant
January 13, 2025

have you tried using a different PIL release? That error comes from a version mismatch