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:
    Code:
    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:

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