pyinstaller / pyinstaller-hooks-contrib

Community maintained hooks for PyInstaller.
Other
93 stars 124 forks source link

DIPY Package #133

Open JSousa-UoL opened 3 years ago

JSousa-UoL commented 3 years ago

Which library is the hook for?

dipy (https://dipy.org/)

Have you gotten the library to work with pyinstaller?

Not really and it needs several hidden imports.

Additional context

So far I manage to hidden import dipy and dipy.data. The error I'm having at the moment is "[Errno 2] No such file or directory: 'C:\(...)\AppData\Local\Temp\_MEI146122\dipy\data\files\repulsion724.npz'"

JSousa-UoL commented 3 years ago

I would give more priority to DIPY compared to XNAT, as XNAT is easy to solve with hidden import and DIPY is a very popular package in the scientific community.

bwoodsend commented 3 years ago

--collect-data=dipy should take care of that FileNotFoundError.

JSousa-UoL commented 3 years ago

Perfect, that solved my problem. Thank you @bwoodsend ! Feel free to close this issue or keep it open if you think you have time to do this. I won't have time to contribute to this unfortunately.

bwoodsend commented 3 years ago

I'll leave it open just in case someone wants to finish it off...