当前位置:网站首页>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
边栏推荐
- 什么是定义?什么是声明?它们有何区别?
- PAT甲级 1030 Travel Plan
- 哪一刻你才发现青春结束了
- LwIP learning socket (API)
- 【MySQL 13】安装MySQL后第一次修改密码,可以可跳过MySQL密码验证进行登录
- Technology dry goods | Roberta of the migration of mindspore NLP model - emotion analysis task
- Technical dry goods Shengsi mindspire operator parallel + heterogeneous parallel, enabling 32 card training 242 billion parameter model
- Leetcode 213: looting II
- 【踩坑系列】mysql 修改root密码失败
- 【LeetCode】3. Merge two sorted lists · merge two ordered linked lists
猜你喜欢
Go language foundation ----- 02 ----- basic data types and operators
Usage of requests module
技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建
Epoll related references
项目经验分享:实现一个昇思MindSpore 图层 IR 融合优化 pass
一篇文章让你读懂-曼彻斯特编码
[Development Notes] cloud app control on device based on smart cloud 4G adapter gc211
Traversal in Lucene
Lucene hnsw merge optimization
An article for you to understand - Manchester code
随机推荐
技术干货|昇思MindSpore可变序列长度的动态Transformer已发布!
Robots protocol
Pat class a 1028 list sorting
华为交换机Console密码重置、设备初始化、默认密码
Technology dry goods | Roberta of the migration of mindspore NLP model - emotion analysis task
Go language foundation ----- 13 ----- file
Go language foundation ----- 05 ----- structure
Microsoft Security Response Center
Analysis of the problems of the 10th Blue Bridge Cup single chip microcomputer provincial competition
技术干货|昇思MindSpore NLP模型迁移之LUKE模型——阅读理解任务
Go language foundation ------17 ----- channel creation, read-write, security shutdown, multiplexing select
What is definition? What is a statement? What is the difference between them?
技术干货|百行代码写BERT,昇思MindSpore能力大赏
技术干货|昇思MindSpore NLP模型迁移之Bert模型—文本匹配任务(二):训练和评估
Go language foundation ----- 04 ----- closure, array slice, map, package
Technical dry goods Shengsi mindspire operator parallel + heterogeneous parallel, enabling 32 card training 242 billion parameter model
Traversal in Lucene
Technical dry goods Shengsi mindspire innovation model EPP mvsnet high-precision and efficient 3D reconstruction
Go language foundation ----- 11 ----- regular expression
[MySQL 12] MySQL 8.0.18 reinitialization