今天在安装pcl库的时候到运行?git clone https://github.com/PointCloudLibrary/pcl.git这一步骤时突然报错:
正克隆到 'pcl'... remote: Enumerating objects: 149268, done. remote: Counting objects: 100% (560/560), done. remote: Compressing objects: 100% (374/374), done. error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. fatal: The remote end hung up unexpectedly fatal: 过早的文件结束符(EOF) fatal: index-pack 失败
去网上 查了一下,我使用的如下方法:
修改下载方式-https改为ssh:
把’git clone https://github.com/PointCloudLibrary/pcl.git’改为’git clone git://github.com/PointCloudLibrary/pcl.git'即可
liangxiaoyu@liangxiaoyu-ThinkPad-E455:~$ git clone git://github.com/PointCloudLibrary/pcl.git 正克隆到 'pcl'... remote: Enumerating objects: 149268, done. remote: Counting objects: 100% (560/560), done. remote: Compressing objects: 100% (374/374), done. remote: Total 149268 (delta 184), reused 388 (delta 99), pack-reused 148708 接收对象中: 100% (149268/149268), 229.50 MiB | 186.00 KiB/s, 完成. 处理 delta 中: 100% (97995/97995), 完成. 正在检出文件: 100% (3490/3490), 完成.
亲测有效哈~
|