Hello,
I am new to IBridgePy and I am following these setup instructions. I am using Python 3.9.0 on a 2019 Intel Mac Book Pro. The only thing I changed in RUN_ME.py
is the accountCode
.
At the terminal, I run /Users/[username]/.pyenv/versions/3.9.0/bin/python RUN_ME.py
with [username] actually replaced with my username.
It fails to run with the error zsh: segmentation fault /Users/[username]/.pyenv/versions/3.9.0/bin/python RUN_ME.py
which I assume arises from an issue with ../IBridgePy/IBCpp.so
.
I downloaded the Mac/Python 3.9 version of IBridgePy from this link.
Please help! Thank you.
Hi Carla,
We are not able to replicate this issue on our end. There are chances that it might be a system-specific issue. Usually, segmentation fault in such cases is due to an attempt by the package to access memory beyond its reach. Here are a few steps that you can try:
- Re-install a fresh version of the IBridgePy package and try running it again.
- You can also go through this video tutorial for installing and running IBridgePy on Mac and make sure that all the steps are performed correctly.
- If the above two steps don't work for you, then another workaround is to install IBridgePy on docker and run it. You can find the details for the same here.
Hope this helps!