Compatibility Issue with IBridgePy version

Course Name: Automated Trading with IBridgePy using Interactive Brokers Platform, Section No: 2, Unit No: 4, Unit type: Document

The latest version available in IBridgePy is Python 3.11 but the Anaconda Distribution downloaded Python 3.12 version due to which i am getting following error on running the RUN_ME.py file:

File ~\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)

File c:\users\goelv\downloads\ibridgepy_win_anaconda311_64\run_me.py:16
from configuration import run_me

File ~\Downloads\IBridgePy_Win_Anaconda311_64\configuration.py:8
from IBridgePy.IbridgepyTools import superSymbol, check_user_sys_compatibility

File ~\Downloads\IBridgePy_Win_Anaconda311_64\IBridgePy\IbridgepyTools.py:32
from IBridgePy import IBCpp

ImportError: DLL load failed while importing IBCpp: The specified module could not be found.

How to resolve the version issue in this case as Anaconda Python 3.12 is working for Jupyter notebook on which i already have multiple files running. Is there a new version coming for IBridgePy for Python 3.12 ?

Hi,

IT might take some time for iBridgePy version can be compatible with Python 3.12. For the time being, you can create a virtual environment using Anaconda Prompt.

Create a new conda environment with Python 3.11

conda create -n ibridgepy python=3.11

Activate the environment

conda activate ibridgepy

Install necessary packages

conda install spyder jupyter numpy pandas matplotlib

You can also install the other libraries needed in this virtual environment.

I am facing the same issue.

Ashna Batch 66

Hello,

Can you confirm if you tried the above methods? If you are still facing issues, let us know.