ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ImportError: No module named rbx1_nav.transform_utils

asked 2019-12-24 05:33:34 -0600

salih gravatar image

updated 2019-12-24 06:09:47 -0600

gvdhoorn gravatar image

The error I got here. what should I do?

a@a-HP-Pavilion-Notebook:~/Belgeler/ROS/mybot_ws/src/mybot_control/scripts$ python bug2.py 
Traceback (most recent call last):
  File "bug2.py", line 7, in <module>
    from rbx1_nav.transform_utils import quat_to_angle, normalize_angle
ImportError: No module named rbx1_nav.transform_utils
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-22 06:38:04 -0600

Verify that rbx1_nav has been installed correctly in your environment by using either pip or conda as package managers - for instance if using pip you could run "pip install rbx1_nav" from within terminal.

Verify the module name is correct before proceeding further, even minor misspelling can prevent its location. Make sure the name rbx1_nav.transform_utils and not any variant such as rbx1s.transform_utils is used.

Be certain the module resides within an environment variable known as PYTHONPATH that includes its directory if not in an obvious spot. If necessary, add its location directly as PATH for optimal operation of Python modules.

If you recently installed or made any modifications to your environment, try restarting your terminal or IDE session as the changes might take effect only upon restart.

if you have any query feel free to ask.

thanks and regards revida marcos

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-12-24 05:33:34 -0600

Seen: 207 times

Last updated: Dec 24 '19