ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I am wondering why mixing Python version should pose an issue.

That's a good question. Unfortunately, a lot of code has not yet been ported from Python 2 to Python 3, so there's a lot of core ROS tools that still rely on Python 2. My advice here would be to try and write it in a Python 3 style, and, if you discover you need something that is Python 2 only, you can always fallback on Python 2 (or, better, help the maintainer port to Python 3).

Are things any different if using ROS2?

Yes -- ROS2 is completely Python3 wrapped around C code.