Robotics StackExchange | Archived questions

using conda for ros development

Is it good practice to use virtual environments like conda for ros software development? The issue i faced: 1. While publishing and deploying the ros package with conda environment with snap. 2. While using conda different modules installed on different conda environment can't be used at same time. Here is one issue i faced while working with conda for differetn python module development.

Asked by dinesh on 2021-04-05 02:02:38 UTC

Comments

Answers

To avoid strange problem and incompatibilities, it is better to avoid mixing software that uses apt-provided dependencies and conda-provided dependencies, as these are basically completely different distributions of software, its own with its (possible mutually incompatible) version of basic libraries such as the C++ standard library, Python, OpenCV, etc etc.

If you really need to do that, I suggest to check https://github.com/rickstaa/.ros_conda_wrapper . Furthermore, if you want to install ROS directly in conda as any other conda package, feel free to check https://github.com/RoboStack/ros-noetic .

Asked by Silvio Traversaro on 2021-04-06 08:37:23 UTC

Comments