How can I install ROS Melodic with Python3?
I need to use ROS with a library that does not support Python 2, which is over a decade old at this point. I'm finding mixed information about Python 3 support in ROS Melodic.
I'm installing from source using the instructions on the wiki. I used Python 3 to install the initial packages
sudo pip3 install -U rosdep rosinstall_generator wstool rosinstall
After setting up my locale correctly, I got up to the point where wstool
has initialised the standalone workspace.
But after that I run rosdep
to install all the dependencies, and I see a lot of Python 2 packages scrolling by.
rosdep install --os=debian:stretch --from-paths src --ignore-src --rosdistro melodic --skip-keys=sbcl -y
Is there a way ROS Melodic can run on Python 3?
It might be worth mentioning that I could not care less about what the whole system runs on, as long as I can have a single Python 3 node to receive some messages and use this particular Python library. So if I can install rospy
on Python 3 that should be enough I think?