pymoduleconnector import error on Raspbian buster

Discussion in 'Module Connector (MC)' started by Tan Li, Feb 6, 2020.

  1. Tan Li

    Tan Li New Member

    Hi, I'm using X4M200 with Raspberry Pi, I'm using Raspbian buster.
    I downloaded the Module connector for Pi, run the script:
    sudo python3.5 setup install
    under ModuleConnector-rpi-1.6.2/python35-arm-linux-gnueabihf/.
    but when I try to run the examples, I got this import error:

    pi@raspberrypi:~/Desktop/xethru $ python3.5
    Traceback (most recent call last):
      File "", line 1, in <module>
        from pymoduleconnector import ModuleConnector
      File "/usr/local/lib/python3.5/dist-packages/pymoduleconnector-1.6.2-py3.5.egg/pymoduleconnector/", line 2, in <module>
        from .moduleconnector import DataReader
      File "/usr/local/lib/python3.5/dist-packages/pymoduleconnector-1.6.2-py3.5.egg/pymoduleconnector/", line 5, in <module>
        from .moduleconnectorwrapper import \
      File "/usr/local/lib/python3.5/dist-packages/pymoduleconnector-1.6.2-py3.5.egg/pymoduleconnector/moduleconnectorwrapper/", line 7, in <module>
        from . import _moduleconnectorwrapper
    ImportError: cannot open shared object file: No such file or directory
    pi@raspberrypi:~/Desktop/xethru $
    Can anyone help?