当前位置:网站首页>vcs import src < ros2. Repos failed
vcs import src < ros2. Repos failed
2022-07-03 07:48:00 【Seven demons 71】
Found on the Internet ros Installation tutorial :
But there was a problem when running to the next few
1. mkdir -p ~/ros2_ws/src
2. cd ~/ros2_ws
3. wget https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos
4. vcs import src < ros2.repos
Step 3: report an error : It has something to do with the Internet , Mainly raw.githubusercontent.com
Of DNS The contaminated , It is difficult to visit China . Also tried in host This website is used in the document IP. Also failed . So use its mirror website ghproxy.com
. Step 3 is modified to the following code .
wget https://ghproxy.com/raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos
perform
vcs import src < ros2.repos
Will get stuck , error , Overtime … Like the following
Sure ctrl+z Manual end vim
sudo vim ros2.repos
Then I found that the source code is like this , It's from github Next git Coming down . Domestic visit github Often error timeout , It's no wonder that the download failed for half a day . You can hang up VPN To solve , Of course, you can also download it from the mirror website . We use the second method to solve .
Use the global replacement function :%s/github.com/github.com.cnpmjs.org/g
esc+:wq
Save and exit . And then it runs again
vcs import src < ros2.repos
Finally, compile with the following statement :
colcon build --symlink-install
边栏推荐
- Redis批量启停脚本
- Technical dry goods | some thoughts on the future of AI architecture
- PAT甲级 1032 Sharing
- HarmonyOS第三次培训笔记
- Lucene hnsw merge optimization
- Redis view client connection
- What to do after the browser enters the URL
- [mindspire paper presentation] summary of training skills in AAAI long tail problem
- Lucene skip table
- [MySQL 12] MySQL 8.0.18 reinitialization
猜你喜欢
Project experience sharing: Based on mindspore, the acoustic model is realized by using dfcnn and CTC loss function
Go language foundation ----- 10 ----- string related operations (operation function, string conversion)
PAT甲级 1030 Travel Plan
技术干货|昇思MindSpore可变序列长度的动态Transformer已发布!
【踩坑系列】mysql 修改root密码失败
Lucene introduces NFA
密西根大学张阳教授受聘中国上海交通大学客座教授(图)
Go language foundation ----- 06 ----- anonymous fields, fields with the same name
Research shows that breast cancer cells are more likely to enter the blood when patients sleep
【MindSpore论文精讲】AAAI长尾问题中训练技巧的总结
随机推荐
Lucene merge document order
Introduction of novel RNA based cancer therapies
PHP常用排序算法
Go language foundation ----- 05 ----- structure
技术干货|关于AI Architecture未来的一些思考
Technical dry goods Shengsi mindspire elementary course online: from basic concepts to practical operation, 1 hour to start!
Enter three times and guess a number
Technical dry goods | some thoughts on the future of AI architecture
go语言-循环语句
【MySQL 13】安装MySQL后第一次修改密码,可以可跳过MySQL密码验证进行登录
Technical dry goods | thinking about the unification of dynamic and static diagrams of AI framework
PAT甲级 1032 Sharing
Implementation of breadth first in aggregation in ES
技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建
华为S5700交换机初始化和配置SSH和TELNET远程登录方法
How to clear the console password for s7700 device
Redis查看客户端连接
Application of pigeon nest principle in Lucene minshouldmatchsumscorer
PHP wechat red packet grabbing algorithm
什么是定义?什么是声明?它们有何区别?