Executing python example files on a Raspberry Pi OS install 64bit


Quick question.
I am trying to install and execute the test examples on a raspberry pi4 8gb on the latest 64bit version of the raspberry pi OS. It seems to work fine on the 32bit Version of the OS in my tests here.
Is it only working in a 32bit python environment?

That is the error I am getting when I test scan_connect.py as an example

novr@zero1:~/MetaWear-SDK-Python/examples $ sudo python scan_connect.py
Traceback (most recent call last):
  File "/home/novr/MetaWear-SDK-Python/examples/scan_connect.py", line 4, in <module>
    from mbientlab.metawear import MetaWear
  File "/usr/local/lib/python3.9/dist-packages/mbientlab/metawear/__init__.py", line 14, in <module>
    libmetawear= CDLL(_so_path)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/python3.9/dist-packages/mbientlab/metawear/libmetawear.so: wrong ELF class: ELFCLASS32
Sign In or Register to comment.