Sorry, my bad. Found the problem by myself. There were a typo in hidden imports
perjantai 17. joulukuuta 2021 klo 12.55.32 UTC+2 Samuli L kirjoitti: > Hi everyone! > > I'm newbie with python, so I don't know every details yet. > I've done an app that reads data from database and it should write datas > to excel by using tablib. It works on my development environment (pycharm) > > When wrapping it to exe and moving it to production (windows pc) (with > hidden-import 'openpyxl') everything goes ok, but when writing data to > execl (dic contains the datas) > with open(file, 'wb') as f: > f.write(dic.export("xlsx")) > > No module named 'tablib.formats._xlsx' > > How to add that module to the exe. > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/098a35bf-f0c9-4b9a-a2e9-9629d6224c2cn%40googlegroups.com.