The script works well on the pycharm but it doesn't work on .exe created by pyinstaller with using ">pyinstaller --onefile GetPdfTable.py" command. The line 91 in GetPdfTable.py is "tabula.read_pdf ...
When pkgutil.find_loader() in get_module_file_attribute() is called with a sub-package or a sub-module name, it leaks an import of the corresponding parent package(s). Therefore, if the given ...