when i run my program in python it works but when i use pyinstaller it doesnt work. my app (login.py) imports another file (app.py) which imports PIL even though i use hidden import to import PIL, i get this when i launch the exe
Traceback (most recent call last): File "login.py", line 5, in
from app import App File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "app.py", line 2, in from PIL import Image, ImageTk ModuleNotFoundError: No module named 'PIL'
can anyone please help