Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are three ways you can approach this.

  1. You can use virtualenv and install anaconda3 inside it, so that there are no conflicts between the different versions of Python.
  2. You can use two different bash files, in which one sources the python of anaconda3, and the other sources the python used for ROS.
  3. You can create symlinks in the Path folder to link anaconda3 python to python3 and ROS python2 to python and also, the Python2 pip to pip and Python3 pip to pip3

There are three ways you can approach this.

  1. You can use virtualenv and install anaconda3 inside it, so that there are no conflicts between the different versions of Python.
  2. You can use two different bash files, in which one sources the python of anaconda3, and the other sources the python used for ROS.
  3. You can create symlinks in the Path folder to link anaconda3 python to python3 and ROS python2 to python and also, the Python2 pip to pip and Python3 pip to pip3

I personally prefer the 1st method, as it is the cleanest and easiest. The second is easy to work around. The third one will likely break your system, as it makes the system extremely complex. Can you share what packages you want to install in Anaconda3?