Skip to content

Commit 1d18d16

Browse files
Clarify relation between conda and ROS 2 (#5173) (#5176)
Signed-off-by: Silvio Traversaro <[email protected]> (cherry picked from commit 3b0fdef) Co-authored-by: Silvio Traversaro <[email protected]>
1 parent b3f4f3e commit 1d18d16

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

source/How-To-Guides/Installation-Troubleshooting.rst

+14-4
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,23 @@ If you encounter exceptions when trying to source the environment after building
104104
colcon version-check # check if newer versions available
105105
sudo apt install python3-colcon* --only-upgrade # upgrade installed colcon packages to latest version
106106
107-
Anaconda Python Conflict
108-
^^^^^^^^^^^^^^^^^^^^^^^^
107+
Mixing conda and apt Python Conflict
108+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109109

110-
``conda`` does not work in conjunction with ROS 2.
111-
Make sure that your ``PATH`` environment variable does not have any conda paths in it.
110+
While using ros2, mixing packages installed with ``apt`` with packages
111+
installed with ``conda`` does not work.
112+
If you are using the official ``apt`` binaries for ROS 2, make sure that
113+
your ``PATH`` environment variable does not have any conda paths in it.
112114
You may have to check your ``.bashrc`` for this line and comment it out.
113115

116+
On the other hand on Windows, the official ROS 2 installation procedure
117+
uses ``conda`` packages via the ``pixi`` package manager, and that works
118+
fine as there is no mix of different package managers
119+
120+
``conda`` packages for ros2 may be built (such as the one
121+
provided by the community-mantained [RoboStack](https://robostack.github.io/) project)
122+
but no official conda packages for ROS 2 are provided.
123+
114124
Cannot start rviz2
115125
^^^^^^^^^^^^^^^^^^
116126

0 commit comments

Comments
 (0)