How to run ROS with other programs simultaneously, which use python3.5?
Hi there,
how to solve the problem when I run ROS and other programs use python3.5 as the same time? When ROS is running, the path is ros/kinetic/../python2.7, which indicates that ROS is using python2.7.
Actually my question should consist of two parts:
- how to solve python2.7 and python3.5 conflict? Docker? Virtual Env?
- If the program need usr/local/python2.7, will there still a conflict to ROS? Because ROS uses ros/kinetic/../python2.7.
BTW, I don't want a ROS python3 version, because I feel not confident on py3 version.
I have Ubuntu 16.04, ROS kinetic.
Thank you.
Best, bear
Next time, please don't delete your question. You can always edit it (this means the title, tags, and content). Now everything that we were working in yesterday is gone.
Like I was asking about your previous (same) question, what do you mean by the same time? Are you trying to run two different programs at the same time or from the same program? Are you getting any errors? Anything else that could help us? This question is a little vague to me.
We didn't work on anything at all yesterday, you just complaint I didn't describe problem clearly. Since you have misunderstandings, I would like to re-write my question.
Working on coming to an understanding of your problem is work. No need to create a new question to re-write your question, you can just edit it.
Go back to my question: I said, when I run ROS node, the other program, which is not the ros node, can not be ran, the reason for that is because ROS indicate to use its own python under the path ros/kinetic/.../python2.7, and the program use 3.5, and it is global. Basically I just repeating.
How are you trying to run your Python 3.5 program and ROS node?
For me it is hard to understand what is running two same program at the same time, why I want to run two same programs?
first start roscore, second open a new terminal and type python3 main.py