0
$\begingroup$

I have ROS noetic installed on Ubuntu 20.04 with Python 3.8. I would like to upgrade my Python to 3.9 and make it the default version. Will it have any effect on my ROS installation ?

$\endgroup$
1
  • $\begingroup$ No it will not have any effects, since 3.9 is backwards compatible with 3.8. This is also a similar question to this one. Also if you want a clear answer on how to do it this might be helpful. $\endgroup$
    – rubimat
    Commented Nov 19, 2023 at 20:03

1 Answer 1

0
$\begingroup$

If you change the python version in the environment you should build your workspace from source with the new python version as we use python bindings in many places in the codebase. There are things in the system that will continue to work due to the compatibility but depending on what features you use your mileage will vary, and you may get explainable crashes on things where python bindings are used.

To be very specific don't use debian packages of ROS with a different version of python on your system.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.