Cannot import roslib.message
See original GitHub issuePython 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from rospy_message_converter import message_converter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pablo/src/freedomrobotics/freedom_python/env/local/lib/python2.7/site-packages/rospy_message_converter/message_converter.py", line 34, in <module>
import roslib.message
ImportError: No module named roslib.message
I just created a simple virtualenv and installed the library with pip
.
Is there anyother package that should be installed for running this? It would be nice to add it to the README.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Cannot import roslib.message · Issue #25 - GitHub
I just created a simple virtualenv and installed the library with pip . Is there anyother package that should be installed for running...
Read more >ImportError: No module named roslib - ROS Answers
I am having a problem running python files. Here are the 1st-3rd lines of the py file: #!/usr/bin/env python import roslib; ...
Read more >ros - python when there is no input for the subscriber it starts ...
#!/usr/bin/env python from roslib import message import rospy import sensor_msgs.point_cloud2 as pc2 from sensor_msgs.msg import PointCloud2 ...
Read more >ROS/Tutorials/WritingPublisherSubscriber(python)
You need to import rospy if you are writing a ROS Node. The std_msgs.msg import is so that we can reuse the std_msgs/String...
Read more >ROS Tutorial: How to solve the error "ImportError : No module ...
msg import gnss`, right? Remember that you have to compile your message. I couldn't find the instructions to compile them on your CMakeLists.txt....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pablodo I’d recommend closing this issue as it’s an issue with my package not the library. You have to install https://pypi.org/project/pyros/0.2.0/ to use this via that pip package. I’ll add it as a required dependency and do a pip release. Thanks for letting me know
@annesteenbeek Sorry again for the extremely late reply (not been as on top of notifications as I should have). I am currently working on a re-release of this library that will not have the above traceback.
It’s caused due to a change in requirements from
catkin_pkg
and the fact that I last released this 2 years ago. When I do the update I will let you know