pyinstaller import error, no image found pyinstaller import error, no image found tkinter tkinter

pyinstaller import error, no image found


I was using openpyxl and it required jdcal in the datetime.py module. None of the hidden imports or any of those pyinstaller work-arounds helped, running the exe would still say jdcal not found. The work-around that I used was to just copy the few functions from jdcal directly into the datetime.py in the openpyxl code. Then ran pyinstaller -F program.py

and it worked! Not the best answer, but when you are trying to get a project out the door for a client, it works.