Error with python

Discussion in 'X4M03' started by Peak Thannit, Oct 22, 2018.

  1. Peak Thannit

    Peak Thannit New Member

    Hi everybody
    I try to follow every steps in manual of Xethru (Python)
    but I still have an error

    C:\Users\Computer\Desktop\ModuleConnector-win32_win64-1.4.2\python36-win64\pymoduleconnector\examples>python XEP_plot_record_playback.py --d COM3
    Traceback (most recent call last):
    File "XEP_plot_record_playback.py", line 11, in <module>
    import pymoduleconnector
    File "C:\ProgramData\Anaconda3\lib\site-packages\pymoduleconnector-1.4.2-py3.7.egg\pymoduleconnector\__init__.py", line 2, in <module>
    from .moduleconnector import DataReader
    File "C:\ProgramData\Anaconda3\lib\site-packages\pymoduleconnector-1.4.2-py3.7.egg\pymoduleconnector\moduleconnector.py", line 5, in <module>
    from .moduleconnectorwrapper import \
    File "C:\ProgramData\Anaconda3\lib\site-packages\pymoduleconnector-1.4.2-py3.7.egg\pymoduleconnector\moduleconnectorwrapper\__init__.py", line 28, in <module>
    _moduleconnectorwrapper = swig_import_helper()
    File "C:\ProgramData\Anaconda3\lib\site-packages\pymoduleconnector-1.4.2-py3.7.egg\pymoduleconnector\moduleconnectorwrapper\__init__.py", line 24, in swig_import_helper
    _mod = imp.load_module('_moduleconnectorwrapper', fp, pathname, description)
    File "C:\ProgramData\Anaconda3\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
    File "C:\ProgramData\Anaconda3\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
    ImportError: DLL load failed: The specified module could not be found.

    I don't know how can I fix them.
    Thank you : )
     
  2. Sigurd Pleym

    Sigurd Pleym New Member Staff Member

    Hi Peak
    It seems you are using python 3.7. Unfortunately we are not supporting python 3.7 yet. If you install python 3.6 this problem will resolve itself.

    Sorry for the inconvenience

    -sigurd-
     
  3. Peak Thannit

    Peak Thannit New Member

    Ok thank you so much :)