How to 'rosrun' in python 3.6 instead of python 3.8 in ROS noetic?
Hi
I'm using ROS on windows.
In noetic, default python version is python 3.8.3, so if I 'rosrun', the node executes in python 3.8.3
However, I want to 'rosrun' in python 3.6.3 because the device that I want to run only executes in python 3.6.3
How can I run the node in python 3.6.3?
Thanks in advance.
Asked by 00kyoung on 2022-07-28 10:07:35 UTC
Answers
Hello,
i use "update-alternatives" command to do this. Have a look to this tutorial https://linuxhint.com/update_alternatives_ubuntu/
The exemple was for python 2 and python 3 it also works with version 3.x and 3.y .
Asked by timRO on 2022-08-04 09:41:08 UTC
Comments
Thanks for your answer, but I'm using ROS on Windows so the hyperlink doesn't help me a lot. Thx anyway!
Asked by 00kyoung on 2022-08-05 03:53:26 UTC
Comments