No module named roslibpy

asked 2021-10-12 02:05:11 -0500

bela gravatar image

Hello! What could be the problem? image description

edit retag flag offensive close merge delete

Comments

Have you installed the library correctly?

KenYN gravatar image KenYN  ( 2021-10-12 02:23:32 -0500 )edit

Yes, I used the "pip install roslibpy" in terminal

bela gravatar image bela  ( 2021-10-12 02:26:48 -0500 )edit

Only other thing I can think of is a Python2/Python3 mix-up; does pip3 install roslibpy work any better? Or use #!/usr/bin/env python3?

KenYN gravatar image KenYN  ( 2021-10-12 03:33:57 -0500 )edit
1

@KenYN This question is tagged melodic. Python3 is not going to work for melodic.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-10-12 06:16:43 -0500 )edit

Why do you want to use roslibpy if you're running code within the ROS system already? Why not use rospy?

gonzalocasas gravatar image gonzalocasas  ( 2022-04-04 16:42:21 -0500 )edit