ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I would check the spelling in your python ROS node. If you can import it in a python shell and get the error by running the python node in the same terminal then I would guess it is a typo.
We would need more information in order to guess why this is happening, things like the python script (or part of it), the exact process you use when setting up your environment, your environment when before running the script, etc...
It could be related to your PYTHONPATH
, you can print it with print(sys.path)
right before you try the import in your python node and make sure the folder which contains the service code is in the path.