how do i get ROS to use a python package?

asked 2020-08-30 14:14:54 -0600

MisticFury gravatar image

im trying to build a ros node using dronekit that i installed to python3 with pip and when i use the import from dronekit on the ros script is indicates that no module exists. i then tried adding dronekit in to the package.xml and the cmakelist.txt but to no avail. how to get ros to work with this package i don't see any ros installation for in so how do i import the package from python into ros?

edit retag flag offensive close merge delete


ROS melodic uses python 2.7 If you want to use python 3 you should switch to noetic or adapt melodic to use python3 instead of 2.7

Solrac3589 gravatar image Solrac3589  ( 2020-09-01 02:37:08 -0600 )edit