Error while running data_fuser.py
Dear All,
I have installed the python version of metawear in linux (ubuntu 16.04) using Python 3.5.2.
I managed to run some examples like led.py.
Yet, when I tried to run the script data_fuser.py, i received the following errors:
error 1547811110.724921: Error on line: 296 (src/blestatemachine.cc): Operation now in progress
Connected to ED:B1:65:CE:EF:D4
Configuring ED:B1:65:CE:EF:D4
Traceback (most recent call last):
File "data_fuser.py", line 58, in
s.setup()
File "data_fuser.py", line 37, in setup
libmetawear.mbl_mw_dataprocessor_fuser_create(acc, signals, 1, None, fn_wrapper)
File "/usr/lib/python3.5/ctypes/init.py", line 360, in getattr
func = self.getitem(name)
File "/usr/lib/python3.5/ctypes/init.py", line 365, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/lib/python3.5/dist-packages/mbientlab/metawear/libmetawear.so: undefined symbol: mbl_mw_dataprocessor_fuser_create
Any suggestions?
Comments
What version of the Python metawear package did you install?
Works fine with Python2.7
I used this
pip3 install metawear --process-dependency-links
Quoting myself again...
How I can check the version of metaware?
https://pip.pypa.io/en/stable/user_guide/#listing-packages
Can you use Python2.7?