iamlab-cmu / motion-planning

Motion planning utils for skill library
0 stars 0 forks source link

ModuleNotFoundError: No module named 'ompl.util._util' #11

Open tabula-rosa opened 3 years ago

tabula-rosa commented 3 years ago

I ran the installation script successfully, but I am having problems running the package. I am not sure if it was build successful as I'm getting a ModuleNotFoundError: No module named 'ompl.util._util' error. Is there a workaround for this issue?

(precond) telee@iam-ronan:~/ws/motion-planning$ python
Python 3.7.5 (default, Feb 23 2021, 13:22:40) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import motion_planning
pybullet build time: Aug 25 2021 13:18:47
WARNING:root:Failed to import geometry msgs in rigid_transformations.py.
WARNING:root:Failed to import ros dependencies in rigid_transforms.py
WARNING:root:autolab_core not installed as catkin package, RigidTransform ros methods will be unavailable
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/telee/ws/motion-planning/motion_planning/__init__.py", line 1, in <module>
    from .iam_motion_planner import IAMMotionPlanner
  File "/home/telee/ws/motion-planning/motion_planning/iam_motion_planner.py", line 7, in <module>
    from motion_planning.planning.goals import JointGoal, CartesianGoal
  File "/home/telee/ws/motion-planning/motion_planning/planning/goals.py", line 7, in <module>
    from ompl import base as ob
  File "/home/telee/ws/motion-planning/deps/ompl-1.5.2/py-bindings/ompl/base/__init__.py", line 1, in <module>
    from ompl import util
  File "/home/telee/ws/motion-planning/deps/ompl-1.5.2/py-bindings/ompl/util/__init__.py", line 4, in <module>
    from ompl.util._util import *
ModuleNotFoundError: No module named 'ompl.util._util'
>>> 
shivamvats commented 3 years ago

https://github.com/ompl/ompl/issues/609 discusses this.