Change python version fom 3.8 to 3.10 in ros2 foxy

asked 2023-03-06 01:13:05 -0500

nona gravatar image

By default, ros foxy is initiated with python3.8, however i need to run my program with python3.10. I tried running ros in a virtual environment, assuming it would switch the python version to the one used in the virtual environment, however this doesn't seem to work.

Does anyone know how to change the python version that ros is using? Thanks a lot!

edit retag flag offensive close merge delete