Python 2.7 will be deprecated at the end of this year. Should I be worried? [closed]

asked 2019-11-11 02:57:29 -0600

parzival gravatar image

I'm using ROS Kinetic on Ubuntu 16.04 and ROS Kinetic uses Python 2.7, which will be depecrated in January 2020. Should I be changing anything? How will it work?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2019-11-11 03:09:53.924442

Comments

1

I'm closing this as a duplicate. Not because I don't recognise this as being a legitimate concern, but because we've had a few discussions and Q&As about this already and I'd like to avoid fragmentation as much as possible.

You must have seen these Q&As yourself when you searched, but perhaps there were things that you did not see discussed there.

Previous Q&As (among others): #q313872 and #q318114.

And a (very long) discussion about this on ROS Discourse: Discussion on ROS to ROS2 transition plan.

Finally, there is a whole section on the wiki dedicated to this: wiki/UsingPython3. This discusses various aspects of migration and how to choose a development strategy.

As for finding more/previous Q&As on this site, use Google: python 3 site:answers.ros.org. The built-in search is not too good, so I tend to not use it.

gvdhoorn gravatar imagegvdhoorn ( 2019-11-11 03:08:49 -0600 )edit

And another recent post by Kyle on ROS Discourse: Some things to know as Python 2 approaches EOL (specific to Ubuntu).

gvdhoorn gravatar imagegvdhoorn ( 2019-11-11 03:09:41 -0600 )edit

Thanks a lot @gvdhoorn! This helps

parzival gravatar imageparzival ( 2019-11-11 03:11:34 -0600 )edit