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

Revision history [back]

click to hide/show revision 1
initial version

@abhishek47 I get this:

Traceback (most recent call last):
  File "/home/philip/server_prac/src/action_practice/src/map_zone_update.py", line 19, in <module>
    import tf2_ros
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 38, in <module>
    from tf2_py import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 38, in <module>
    from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
[mapzoner-1] process has died [pid 25790, exit code 1, cmd /home/philip/server_prac/src/action_practice/src/map_zone_update.py __name:=mapzoner __log:=/home/philip/.ros/log/879a2c7c-a8c6-11ec-9206-d43b04207196/mapzoner-1.log].
log file: /home/philip/.ros/log/879a2c7c-a8c6-11ec-9206-d43b04207196/mapzoner-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

when I try to import tf2_ros