My macbook pro system info:
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!
"Suggestions" is irrelevant. What's happening is that it's trying to access a website to pull data from a file and that website is failing a certificate validation process on your machine.
A lot of suggestions hint at updating your certificates, but so far, none of that seems to help me.
From https://github.com/ros/rosdistro/issues/9721: "I got the same error and fixed it by updating and upgrading the system"
Also: "To solve the error I installed 'ca-certificates' package
sudo apt-get install ca-certificates
Then it worked for me"