pyinstaller / pyinstaller-hooks-contrib

Community maintained hooks for PyInstaller.
Other
90 stars 121 forks source link

docx.opc.PackageNotFoundError #511

Open manuelcaeiro opened 6 years ago

manuelcaeiro commented 6 years ago

PyInstaller does not import python docx module. I came here 2 days ago asking for help on this matter. Meanwhile I found the help I needed here: (in case someone has the same problem) https://stackoverflow.com/questions/35642322/pyinstaller-and-python-docx-module-do-not-work-together

htgoebel commented 6 years ago

The solution described there may work, but is a poor implementation. PyInstaller is able to collect datafiles for packages. Just search the hooks for collect_data_files().

We'd appreciate if you would provide a pull-request with a hook for this package.