ROS Melodic python3
Hello everyone, as the title suggests I am looking for a way to use python3 rather than python2 as an interpreter. I am aware of the presence of several similar questions however in none of these I am able to find a complete answer. Also in the first tutorial proposed by the site there is a reference to the possibility of using python3 by building from source but it is just a reference linked to the different catkin command to build the workspace. Is there anyone that can share with me a possibile solution or something to read in order to reach it please?
Without links to things you've tried and the errors you ran into, no-one can help you. We only run the risk of suggesting things you've already tried, which is not an efficient way of spending our time.
If you've seen what I believe you've seen, then those "similar questions" and "first tutorial" do actually allow you to build ROS Melodic using Python 3. But it's not a simple copy-paste process, as ROS Melodic simply wasn't written with Python 3 in mind.
In general: please take note of my comment under the answer below.