Closed Aloukik21 closed 2 years ago
Hi, you are right. ROS melodic only officially supports Python 2.7. However, you can use python3 on ros melodic by just running python3 ros_script.py
or using a virual env. There are a few threads on ROS answers forum on this, do check them out!
Closing this issue, feel free to reopen it if you run into other problems!
@Aloukik21 Can you please tell me how did you solve your problem
@s-sarahSM and @Aloukik21 i have same issue. Can you tell me how did you solve your problem? Please.
How to run python3 files with ros melodic as Ros melodic is purely based on python2.7.