IBridgePy Setup With Interactive Brokers Failed

Hello everybody



I always receive this message. Does anyone can help me please ?



Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]

Type "copyright", "credits" or "license" for more information.



IPython 7.6.0 – An enhanced Interactive Python.



runfile('C:/Users/ETIE/Documents/IBridgePy_Win_Anaconda37_64/RUN_ME.py', wdir='C:/Users/ETIE/Documents/IBridgePy_Win_Anaconda37_64')

Traceback (most recent call last):



  File "<ipython-input-1-562a4eac6a4e>", line 1, in <module>

    runfile('C:/Users/ETIE/Documents/IBridgePy_Win_Anaconda37_64/RUN_ME.py', wdir='C:/Users/ETIE/Documents/IBridgePy_Win_Anaconda37_64')



  File "C:\Users\ETIE\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile

    execfile(filename, namespace)



  File "C:\Users\ETIE\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile

    exec(compile(f.read(), filename, 'exec'), namespace)



  File "C:/Users/ETIE/Documents/IBridgePy_Win_Anaconda37_64/RUN_ME.py", line 38, in <module>

    exec(script)



  File "<string>", line 9, in <module>



  File "C:\Users\ETIE\Documents\IBridgePy_Win_Anaconda37_64\IBridgePy\MarketManagerBase.py", line 6, in <module>

    import data_provider_factory



  File "C:\Users\ETIE\Documents\IBridgePy_Win_Anaconda37_64\data_provider_factory_init_.py", line 1, in <module>

    from .data_provider import DataProvider



  File "C:\Users\ETIE\Documents\IBridgePy_Win_Anaconda37_64\data_provider_factory\data_provider.py", line 15, in <module>

    from IBridgePy.IbridgepyTools import calculate_startTimePosition



  File "C:\Users\ETIE\Documents\IBridgePy_Win_Anaconda37_64\IBridgePy\IbridgepyTools.py", line 29, in <module>

    from IBridgePy import IBCpp



ImportError: DLL load failed: Le module spécifié est introuvable.

Hi Livien,



Thanks for adding verbose logs. From those, I noticed that:

  1. You seem to be using Python 3.6.8
    Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
     
  2. The IBridgePy code you seem to be using is for Python 3.7 on Windows.
    C:\Users\ETIE\Documents\IBridgePy_Win_Anaconda37_64

The error occurs, most probably due to the Python version compatibility issues between them.

I would recommend you to download IBridgePy_python36_64bit version and try using that.

Do let us know if it worked. And please feel free to post here in case you need any further help.

--