Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

Failed to run inverse_kinematics_motion_planning example: ModuleNotFoundError: No module named 'ompl'

Open pengzhenghao opened this issue 1 year ago • 1 comments

https://genesis-world.readthedocs.io/en/latest/user_guide/getting_started/inverse_kinematics_motion_planning.html

Traceback (most recent call last): File "/home/zhenghao/anaconda3/envs/go/envs/gene/lib/python3.10/site-packages/genesis/engine/entities/rigid_entity/rigid_entity.py", line 1230, in plan_path from ompl import base as ob ModuleNotFoundError: No module named 'ompl'

pengzhenghao avatar Dec 19 '24 22:12 pengzhenghao

@pengzhenghao did you install it? https://genesis-world.readthedocs.io/en/latest/user_guide/overview/installation.html#optional-motion-planning

bdelhaisse avatar Dec 20 '24 01:12 bdelhaisse

I do not see the installation instructions in the provided link. Could you suggest how to successfully install OMPL with python bindings in a virtual environment (venv)?

vengov avatar Jun 16 '25 01:06 vengov

You should install the latest main branch, it will install OMPL automatically. Unless you are on Windows, in which case there is no solution I'm afraid.

duburcqa avatar Jun 16 '25 08:06 duburcqa

Noted. Thank you. I just installed from OMPL source and seems to be working within a conda environment.

vengov avatar Jun 16 '25 09:06 vengov