Can't initialize rosdep after installing ROS through conda-forge
Issue:
I installed ros-melodic through conda-forge.
conda config --add channels conda-forge
conda config --set channel_priority strict
conda create --name ros --channel conda-forge ros-core ros-actionlib ros-dynamic-reconfigure ros-roslib python=3.6
however when trying to initialize rosdep within the newly created ros
environment, it rightfully denies the permissions to /etc/ros/ folder in the root:
ERROR: cannot create /etc/ros/rosdep/sources.list.d:
[Errno 13] Permission denied: '/etc/ros'
And when writing sudo rosdep init
it give same error: sudo: rosdep: command not found
, (though I think that's a separate issue).
Question:
I don't know where else to ask this but uhm, what do I need to change so that rosdep
stays within the conda environment folders and doesn't try to modify root folders?
Details about conda
and system ( conda info
):
Ubuntu 18.04.4 LTS,
conda-forge / packages / ros-roslib 1.14.6
(ros) jek@jek-u18-04-4lts:~$ conda info
active environment : ros
active env location : /home/jek/anaconda3/envs/ros
shell level : 2
user config file : /home/jek/.condarc
populated config files : /home/jek/.condarc
conda version : 4.8.3
conda-build version : 3.18.11
python version : 3.7.3.final.0
virtual packages : __cuda=9.1
__glibc=2.27
base environment : /home/jek/anaconda3 (writable)
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/jek/anaconda3/pkgs
/home/jek/.conda/pkgs
envs directories : /home/jek/anaconda3/envs
/home/jek/.conda/envs
platform : linux-64
user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.3 Linux/4.15.0-91-generic ubuntu/18.04.4 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False