Hi everyone, I am facing this issue. Did all steps but still this error:
Traceback (most recent call last):
File "/home/vidit/Downloads/SFA3D/ros/src/super_fast_object_detection/src/rosInference.py", line 2, in
import sensor_msgs.point_cloud2 as pc2
File "/opt/ros/melodic/lib/python2.7/dist-packages/sensor_msgs/point_cloud2.py", line 48, in
import roslib.message
File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/init.py", line 50, in
from roslib.launcher import load_manifest # noqa: F401
File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/launcher.py", line 48, in
_rospack = rospkg.RosPack()
AttributeError: module 'rospkg' has no attribute 'RosPack'
Hi everyone, I am facing this issue. Did all steps but still this error: Traceback (most recent call last): File "/home/vidit/Downloads/SFA3D/ros/src/super_fast_object_detection/src/rosInference.py", line 2, in
import sensor_msgs.point_cloud2 as pc2
File "/opt/ros/melodic/lib/python2.7/dist-packages/sensor_msgs/point_cloud2.py", line 48, in
import roslib.message
File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/init.py", line 50, in
from roslib.launcher import load_manifest # noqa: F401
File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/launcher.py", line 48, in
_rospack = rospkg.RosPack()
AttributeError: module 'rospkg' has no attribute 'RosPack'