openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.81k stars 810 forks source link

Replace deprecated `load_module` by `exec_module` #741

Open YouJiacheng opened 1 year ago

YouJiacheng commented 1 year ago

load_module is deprecated since python 3.6. New implementation is based on https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly