how to use python3.8 with ROS Kinetic in a node (import rospy)?
Hey,
I am using ROS kinetic which supports python2.7. I want to run a node with python3.8 using rosrun.
when I used a shebang to test the script without any "import rospy" it worked.
but when I include "import rospy" to turn the script into a node and be able to send values, it gives me the following error: in <module> import yaml ModuleNotFoundError: No module named 'yaml'
I would greatly appreciate any idea to make ROS kinetic itself use python3.8 instead of python2.7 and fix this issue.
Thanks in advance
Here are some similar answers that might help you:
ROS Kinetic and Python3 general
rospy and python3 specific