Getting following error for X4M300 module connector example code

Discussion in 'Presence Sensor' started by Rakhesh Permuddannaya, Feb 13, 2019.

  1. I am getting the following error while running an X4M300_plot_movementlist example code using module connector for windows, I had chosen python as the development platform

    File "C:\Users\Rakhesh\AppData\Local\Programs\Python\Python37\lib\site-packages\pymoduleconnector-1.6.2-py3.7.egg\pymoduleconnector\__init__.py", line 2, in <module>
    from .moduleconnector import DataReader
    File "C:\Users\Rakhesh\AppData\Local\Programs\Python\Python37\lib\site-packages\pymoduleconnector-1.6.2-py3.7.egg\pymoduleconnector\moduleconnector.py", line 5, in <module>
    from .moduleconnectorwrapper import \
    File "C:\Users\Rakhesh\AppData\Local\Programs\Python\Python37\lib\site-packages\pymoduleconnector-1.6.2-py3.7.egg\pymoduleconnector\moduleconnectorwrapper\__init__.py", line 28, in <module>
    _moduleconnectorwrapper = swig_import_helper()
    File "C:\Users\Rakhesh\AppData\Local\Programs\Python\Python37\lib\site-packages\pymoduleconnector-1.6.2-py3.7.egg\pymoduleconnector\moduleconnectorwrapper\__init__.py", line 24, in swig_import_helper
    _mod = imp.load_module('_moduleconnectorwrapper', fp, pathname, description)
    File "C:\Users\Rakhesh\AppData\Local\Programs\Python\Python37\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
    File "C:\Users\Rakhesh\AppData\Local\Programs\Python\Python37\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
    ImportError: DLL load failed: The specified module could not be found.


    but I have tested with the Linux system, I was able to get the reading... without any error
     
  2. Igor.12

    Igor.12 New Member

    Try to use with python3.6, here normally works