My macbook pro system info:
- macOS High Sierra
- Version 10.13.4
And, I'm trying to following the Office Guidings to install ros-kinetic-distro version in my macbook. However, it's all good until come to the initialize-rosdep step:
$ sudo -H rosdep init
$ rosdep update
Here are the problems:
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.
So I have to go to the website-page find the suggestions like this:
# os-specific listings first
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
# generic
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte
# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
I'm not familiar with yaml, so I can't make it clear what the suggestions real meanings. And next, I have to install yaml, unfortunately, there're comes another pieces of problems!
So I had installed PyYAML which seems located here:
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
with file PyYAML-3.12-py3.6.egg-info.
But failed when I export the PATH into my .zhsrc:
export PATH=/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages:$PATH
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx zsh: permission denied: yaml
sudo yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
Password:
sudo: yaml: command not found
So, What should I do to config the yaml-command in a right way? And, finally is there anyone make is success to install the ROS in MacBook? I really need your help!