Solution 9
ModuleNotFoundError: No module named ‘rospkg’
Try to change the shebang (line 1) according to the python version your ROS distro works with:
For melodic or earlier: #!/usr/bin/env python2
For noetic or later: #!/usr/bin/env python3
Try to change the shebang (line 1) according to the python version your ROS distro works with:
For melodic or earlier: #!/usr/bin/env python2
For noetic or later: #!/usr/bin/env python3
--
MS Thesis Student, CVGL, LUMS http://pk.linkedin.com/in/talhahanifbutt
Love podcasts or audiobooks? Learn on the go with our new app.