intrepidcs / python_ics

Library for interfacing with Intrepid devices in Python
MIT License
61 stars 29 forks source link

Not able to package python_ics properly with PyInstaller #161

Closed LenaJok closed 11 months ago

LenaJok commented 11 months ago

Hello,

I am trying to package a program that uses python-can (specifically python_ics) using Pyinstaller. However, I keep getting this error:

Exception in __init__.py
module 'ics.structures' has no attribute 's_extended_data_flash_header'

I already added ics.hiddenimports.hidden_imports to the hiddenimports var in Analyzis like seen here: https://python-ics.readthedocs.io/en/stable/ but that didn't help.

Does anybody know what can be the issue here?