You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run robot_controller.py in docker ,I got this error
Traceback (most recent call last):
File "/root/catkin_ws/src/monocular_person_following/scripts/robot_controller.py", line 2, in
import tf
File "/opt/ros/noetic/lib/python3/dist-packages/tf/init.py", line 30, in
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_ros/init.py", line 38, in
from tf2_py import *
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_py/init.py", line 38, in
from ._tf2 import *
ImportError: dynamic module does not define init function (init_tf2)
could you help me to solve it?Thank you very much!
The text was updated successfully, but these errors were encountered:
Have you solved it? How did you solve it? I also encountered the following error:
Traceback (most recent call last):
File '/home/zjt/catkin_ws_mpf/src/monlingual_person_following/scripts/visualization.py', line 6, in
importtf
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf/init.py", line 30, in
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File "/home/zjt/catkin_ws_mpf/devel/lib/python2.7/dist-packages/tf2_ros/init.py", line 34 in
execute(__fh.read())
File "", line 38, in
File "/home/zjt/catkin_ws_mpf/devel/lib/python2.7/dist-packages/tf2_py/init.py", line 34 in
execute(__fh.read())
File "", line 38, in
ImportError: dynamic module does not define module exported function (PyInit__tf2)
When I run robot_controller.py in docker ,I got this error
Traceback (most recent call last):
File "/root/catkin_ws/src/monocular_person_following/scripts/robot_controller.py", line 2, in
import tf
File "/opt/ros/noetic/lib/python3/dist-packages/tf/init.py", line 30, in
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_ros/init.py", line 38, in
from tf2_py import *
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_py/init.py", line 38, in
from ._tf2 import *
ImportError: dynamic module does not define init function (init_tf2)
could you help me to solve it?Thank you very much!
The text was updated successfully, but these errors were encountered: