美文网首页
git clone yolov5出现的两个问题

git clone yolov5出现的两个问题

作者: 小白兔555 | 来源:发表于2022-03-31 19:50 被阅读0次

    下载YOLOv5

    git clone https://github.com/ultralytics/yolov5
    

    问题一:

    fatal: unable to access 'https://github.com/ultralytics/yolov5/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
    解决方法: 将https改成git

    git clone git://github.com/ultralytics/yolov5
    

    参考:https://www.cnblogs.com/zukang/p/14832868.html (如果侵权,速删)

    问题二:

    fatal: remote error:
    The unauthenticated git protocol on port 9418 is no longer supported.
    Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
    解决方法:

    git config --global url."https://".insteadOf git://
    

    参考:https://blog.csdn.net/dp30737/article/details/123697382(如果侵权,速删)

    相关文章

      网友评论

          本文标题:git clone yolov5出现的两个问题

          本文链接:https://www.haomeiwen.com/subject/hhwnjrtx.html