rl-control-template
rl-control-template copied to clipboard
Build fails on building wheel for box2d-py
System: MacOS 14.6.1, M1 Pro chip.
Problem: Box2d-py failed to build unless I had a global install of swig. Adding swig to requirements.txt gave the same error, as did using pyproject.toml and adding swig to build-system.requires.
I was able to build box2d-py using both swig 4.1.1 and swig 4.2.1 from pipx and brew. Interestingly, macports's swig 4.1.1 fails to buildbox2d-py. An error log is attached for the macports failure case.
box2d-py_build_error_with_macports_swig_4.1.1.log