我的macbook系统信息:
而且,我正试图跟踪办公室指南,在我的macbook中安装ros-动能发行版。不过,在进入initialize-rosdep步骤之前,这一切都很好:
$ sudo -H rosdep init
$ rosdep update以下是问题所在:
错误:无法从:https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list网站下载默认资源列表。
因此,我必须去网站上找到建议,如:
# 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我不熟悉yaml,所以我无法清楚地说明建议的真正含义。接下来,我必须安装yaml,不幸的是,还有另外一些问题!
因此,我安装了PyYAML,它似乎位于这里:
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
使用文件PyYAML-3.12-py3.6.egg-info.
但是当我将路径导出到.zhsrc时失败了
export PATH=/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages:$PATHyaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx zsh:许可被拒绝: yaml 数独yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx 密码: sudo: yaml:找不到命令
那么,我应该如何正确配置yaml命令呢?最后,是否有人成功地在MacBook中安装了ROS?我真的需要你的帮助!
发布于 2018-05-22 19:40:58
“建议”是不相关的。正在发生的事情是,它试图访问一个网站,从一个文件中提取数据,而该网站在您的计算机上没有通过证书验证过程。
许多建议暗示着更新您的证书,但到目前为止,这些似乎都没有帮助我。
来自https://github.com/ros/rosdistro/issues/9721:“我得到了相同的错误,并通过更新和升级系统修复了它”
另外:“为了解决错误,我安装了‘ca-证书’包。
sudo apt-get install ca-certificates然后它对我起作用“
发布于 2021-02-19 00:16:59
现在有一种使用conda:conda install ros-noetic-desktop -c robostack在OSX上安装ROS的简单方法。关于https://medium.com/robostack/cross-platform-conda-packages-for-ros-fa1974fd1de3和https://github.com/RoboStack/ros-noetic的更多信息
发布于 2018-05-08 21:07:36
这里是我关于动力和高塞拉(只是部分成功,失去耐心)的笔记:https://gist.github.com/stela/aba2fbd1d4adc8aa922af29c057f7b86
另一本关于塞拉的月球指南:https://gist.github.com/lubiluk/361a018b267ca4e3ce10cdc68b17363d
OS X:http://wiki.ros.org/kinetic/Installation/OSX/Homebrew/Source (未指定版本)的官方动态
在非Linux操作系统上使用docker发行版可能要容易得多。
https://stackoverflow.com/questions/50060718
复制相似问题