ModuleNotFound error while executing a package created by PyInstaller On Windows
问题 I am packaging my ML solution which includes keras and tensorflow using PyInstaller. The exe builts just fine but when I execute the exe it gives an ModuleNotFoundError for boto . The solution works just fine if I run it using the script. All the dependencies were installed. Here is my spec file: block_cipher = None a = Analysis(['main.py'], pathex=['.'], binaries=[], datas=[('data\\*.tsv', 'data')], hiddenimports=['sklearn.neighbors.typedefs','sklearn.neighbors.quad_tree','sklearn.tree.