[英]How to install ROS(Kinetic) in Mac OS Sierra?
我的 macbook pro 系統信息:
而且,我正在嘗試按照Office 指南在我的 macbook 中安裝ros-kinetic-distro版本。 然而,一切都很好,直到進入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 。
但是當我將PATH導出到我的.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:權限被拒絕:yaml
須藤 yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
密碼:
須藤:yaml:找不到命令
那么,我應該怎么做才能以正確的方式配置yaml-command ? 而且,最后有沒有人成功在 MacBook 中安裝 ROS? 我真的需要你的幫助!
現在有一種使用 conda 在 OSX 上安裝 ROS 的簡單方法: conda install ros-noetic-desktop -c robostack
。 有關https://medium.com/robostack/cross-platform-conda-packages-for-ros-fa1974fd1de3和https://github.com/RoboStack/ros-noetic 的更多信息
這是我對 Kinetic 和 High Sierra 的筆記(雖然只是部分成功,但已經沒有耐心了): https : //gist.github.com/stela/aba2fbd1d4adc8aa922af29c057f7b86
Sierra 上的 Lunar 的另一個指南: https : //gist.github.com/lubiluk/361a018b267ca4e3ce10cdc68b17363d
OS X 上(未指定版本)的官方 Kinetic: http : //wiki.ros.org/kinetic/Installation/OSX/Homebrew/Source
盡管在非 Linux 操作系統上使用 docker 發行版可能要容易得多。
“建議”無關緊要。 發生的事情是它試圖訪問一個網站以從文件中提取數據,而該網站在您的機器上未能通過證書驗證過程。
許多建議暗示更新您的證書,但到目前為止,這些似乎都沒有幫助我。
來自https://github.com/ros/rosdistro/issues/9721 :“我遇到了同樣的錯誤並通過更新和升級系統來修復它”
另外:“為了解決我安裝了'ca-certificates'包的錯誤
sudo apt-get install ca-certificates
然后它對我有用”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.