I need a python physics engine that runs on a Mac and simplifies physics modeling. I have VPython and it works fine, but that is not quite what I want. VPython just shows the visuals, and all physics is in formulas. I looked at the PyODE documentation and it looked more than what I want. This allowed you to add strength to the masses and have worlds and the like. When I tried to install PyODE (I am using a Mac), this did not work. One of the reasons was that I didn't have pyrex (do I have Cython, so maybe there is a way to use this?), But the other is that I did not have ode installed. I looked and realized that PyODE is dependent on an ode. I tried to install an ode, but it did not work. Is there any documentation or binary information or something,What makes installing PyODE on a Mac easier? Or is there a similar module?
Edit:
This is the error I received while trying to install PyODE:
sh: ode-config: command not found
sh: ode-config: command not found
WARNING: <ode/ode.h> not found. You may have to adjust INC_DIRS.
INFO: Creating ode_trimesh.c
pyrexc -o ode_trimesh.c -I. -Isrc src/ode.pyx
sh: pyrexc: command not found
ERROR: An error occured while generating the C source file.
I got this error because pyrex and ode were not installed. There was no documentation for installing ode on mac, so there were no error messages for what I was trying to do, but the errors remained the same for PyODE, so ode was not installed.
source
share