How to use Python 3.6 with ROS?

asked 2019-12-07 07:32:24 -0600

kane_choigo gravatar image

Hello, I'm using ROS kinetic on Ubuntu 16.04.

As far as I've heard so far, the python version of almost all the ROS packages has been written with Python 2' version; in other words, it is impossible to launch an ROS file with python 3.6.

But I'm going to apply deep learning(something like 'TensorFlow 'or 'Keras' or 'Pytorch') made with python 3.6 environments.

So, If there is someone familiar with launching the ROS packages with python 3 version, would you please give me a helpful advice?

Thanks in advance.

edit retag flag offensive close merge delete


Do a search for this question on the forum. It is asked several times, but IIRC, there are no easy answers.

About tensorflow, there are versions available from google that run on Python 2.7. That is what I use on Kinetic. I can't comment on Keras or Pytorch.

billy gravatar image billy  ( 2019-12-08 14:01:08 -0600 )edit