fatal: 无法访问 'https://github.com/ultralytics/yolov5.git/':GnuTLS recv error (-110): The TLS connection was non-properly terminated.
时间: 2024-01-10 17:21:44 浏览: 312
根据提供的引用内容,当出现报错"fatal: 无法访问 'https://github.com/ultralytics/yolov5.git/':GnuTLS recv error (-110): The TLS connection was non-properly terminated"时,可能是由于TLS连接未正确终止导致的。为了解决这个问题,可以尝试以下方法:
1. 检查网络连接:确保你的网络连接正常,可以尝试重新连接网络或使用其他网络环境进行试。
2. 使用Git镜像源:可以使用Git的镜像源来加速下载速度。你可以在Git的配置文件中设置镜像源,具体步骤如下:
- 打开Git Bash或命令行工具。
- 输入以下命令设置Git的镜像源:
```
git config --global url."https://hub.fastgit.org/".insteadOf https://github.com/
```
- 然后再次尝试克隆仓库:
```
git clone https://github.com/ultralytics/yolov5.git
```
3. 使用Git代理:如果你使用的是代理服务器进行网络连接,可以尝试配置Git的代理设置。具体步骤如下:
- 打开Git Bash或命令行工具。
- 输入以下命令设置Git的代理:
```
git config --global http.proxy 代理服务器地址:端口号
git config --global https.proxy 代理服务器地址:端口号
```
- 然后再次尝试克隆仓库:
```
git clone https://github.com/ultralytics/yolov5.git
```
4. 使用其他下载方式:如果以上方法仍然无法解决问题,你可以尝试使用其他下载方式,例如直接下载zip文件或者使用其他工具进行下载。
阅读全文
相关推荐


















