is there any way of using python 3.5 in ROS kinetic
I have one python library which is in python3.5. but ROS works only with python 2.7.
can I get some idea , how to access that library in my ros environment?
Asked by rama_bhuyan on 2018-08-09 05:41:19 UTC
Answers
There is a very hacky method that I have successfully used before. This may not work in many cases. So, You source a terminal with ROS environment variables and run roscore. In another terminal first source ros and then python3 environment variables. now run your python3 node here. This is possible coz of the amazing backporting capabilities of python. Again this may not work in every case. So its your luck
Asked by Ridhwanluthra on 2018-08-17 06:09:01 UTC
Comments
If you want to use a different Python version, you'll probably have to install ROS from sources, all the while keeping an eye on the commands to make sure you're using the correct Python interpreter binary.
There have been Q&As about this, I recommend using google (with
site:answers.ros.org
).Asked by gvdhoorn on 2018-08-10 02:56:00 UTC