Skip to content

No module named 'ompl' #999

@joonsub2000

Description

@joonsub2000

Hi, I installed the ompl and python bindings. However when I try to import ompl, following error occurs. "ModuleNotFoundError: No module named 'ompl'"

To import ompl, I add the directory as follows.


sys.path.append('/home/anaconda3/envs/joonsub_simul/ompl-1.6.0/build/Release/lib')
sys.path.append('/home/anaconda3/envs/joonsub_simul/ompl-1.6.0/py-bindings')
sys.path.append('/home/anaconda3/envs/joonsub_simul/ompl-1.6.0')

import ompl

ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 from ompl.util._util import *
ModuleNotFoundError: No module named 'ompl'


There are the following so files in build/Release/lib.
_base.so _control.so _geometric.so libompl.so libompl.so.1.6.0 libompl.so.17 py_std_fuction.so _util.so

I referred to the following Issues, but could not solve it (#977)

I will attach CMakeCache.txt and the log about command 'make' in terminal , so please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions