当前位置:网站首页>Failed to initialize rosdep after installing ROS

Failed to initialize rosdep after installing ROS

2022-07-07 22:26:00 Lift the cement together

installed ROS after , initial sudo rosdep init, Show :
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.
resolvent :

First /etc Open the terminal in the directory , Enter the following command to change hosts File permissions

sudo chmod a+rw hosts

Then open hosts file , Add the following at the end of the file , And save and exit

151.101.84.133  raw.githubusercontent.com

-------------------------------------------- Split line ---------------------------------------------------------------------------

If hosts Added IP If the address doesn't solve your problem , It is recommended to use This Check the most suitable IP, Then change it

原网站

版权声明
本文为[Lift the cement together]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130605394767.html