open-neuromorphic / expelliarmus

A Python package for decoding RAW and DAT files (Prophesee) to structured NumPy arrays of events.
https://expelliarmus.readthedocs.io/
GNU General Public License v2.0
36 stars 9 forks source link

NameError: name 'lib_path' is not defined #22

Open karaul opened 2 months ago

karaul commented 2 months ago

Does not work

Shoud I compile myself (and how ?) in expelliarmus/src/ ? e.g. gcc -lm -fPIC -shared -o wizard.so wizard.c

Traceback (most recent call last): File "/trinity/home/evotyakov/metavision/python/expelliarmus/read_disk.py", line 6, in from expelliarmus import Wizard File "/trinity/home/evotyakov/metavision/python/expelliarmus/expelliarmus/init.py", line 1, in from .wizard.wizard import Wizard File "/trinity/home/evotyakov/metavision/python/expelliarmus/expelliarmus/wizard/wizard.py", line 23, in from expelliarmus.wizard.clib import c_cargos_t, events_cargo_t File "/trinity/home/evotyakov/metavision/python/expelliarmus/expelliarmus/wizard/clib.py", line 31, in clib = CDLL(str(lib_path)) NameError: name 'lib_path' is not defined