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

No module named roslibpy

asked 2021-10-11 07:40:29 -0500

bela gravatar image

updated 2021-10-11 08:47:02 -0500

Can anyone help here what could be the problem? image description

edit retag flag offensive close merge delete

Comments

gonzalocasas gravatar image gonzalocasas  ( 2022-04-04 16:43:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-11 07:58:38 -0500

Ranjit Kathiriya gravatar image

updated 2021-10-11 07:59:53 -0500

Hello @bela,

I think you need to source: e a source /opt/ros/melodic/setup.sh

Instead of running python file directly, I would suggest you to run the file in ROS way. You can have a look at steps 3 and 4 ROS running a program link. Also look at this #q269380

edit flag offensive delete link more

Comments

I did it now, but it's not good either :( No module named rosliby

bela gravatar image bela  ( 2021-10-11 08:26:17 -0500 )edit

Have you installed roslibpy correctly? If python is not recognizing module is due to an error in the installation. To check:

pip list | grep <module_name_you_want_to_check>
osilva gravatar image osilva  ( 2021-10-12 09:34:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-10-11 07:40:29 -0500

Seen: 1,948 times

Last updated: Oct 11 '21