I'm trying to turn my sample app (qrcode gen with TkInter) to executable using pyinstaller. The app builds, but when it's started I get:
Exception in Tkinter callback
Traceback (most recent call last):
File "PIL/ImageTk.py", line 65, in _pyimagingtkcall
_tkinter.TclError: invalid command name "PyImagingPhoto"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tkinter/__init__.py", line 1921, in __call__
File "qrcode_gen.py", line 10, in generuj_qr
File "PIL/ImageTk.py", line 129, in __init__
File "PIL/ImageTk.py", line 183, in paste
File "PIL/ImageTk.py", line 69, in _pyimagingtkcall
ModuleNotFoundError: No module named 'PIL._tkinter_finder'
Any ideas howto resolve it so the pyinstaller would pack it all?