国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

vcs import src < ros2.repos 顯示 Could not determine ref type of version

這篇具有很好參考價值的文章主要介紹了vcs import src < ros2.repos 顯示 Could not determine ref type of version。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

vcs import src < ros2.repos 顯示 Could not determine ref type of version 或速度慢的解決方法

根據(jù)ROS2的官方編譯教程步驟下載ROS包時,到vcs import src < ros2.repos 或 vcs import --input ros2.repos src這一步就會報錯或者下載速度極慢。一開始是會顯示Could not determine ref type of version: fatal: unable to access ‘https://github.com/ros-visualization/rqt_graph.git/’: Failed to connect to github.com port 443: Connection timed out

之前搜索到了以下三個網(wǎng)址,嘗試了都不行,會顯示 Could not resolve host等錯誤

  • https://github.com.cnpmjs.org/
  • https://hub.fastgit.org/
  • https://hub.fastgit.xyz/

后來找到了另一個加速訪問和下載github項目的Github國內鏡像網(wǎng)站

https://kgithub.com/

可以直接gedit將repo的所有github.com改成kgithub.com
也可以選擇使用

git config --global url."https://kgithub.com/".insteadOf https://github.com/

如果需要查看當前設置可以使用

git config --global -l

如果需要斷開git config .insteadOf 的鏈接,移除的時候只需要運行下述命令即可

git config --global --remove-section url."https://kgithub.com/"

參考:
https://juejin.cn/post/7210744398640595005
https://mlog.club/article/1775584文章來源地址http://www.zghlxwxcb.cn/news/detail-731122.html

到了這里,關于vcs import src < ros2.repos 顯示 Could not determine ref type of version的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如若轉載,請注明出處: 如若內容造成侵權/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領支付寶紅包贊助服務器費用

相關文章

  • ImportError: Could not import docarray python package解決方案

    ImportError: Could not import docarray python package解決方案

    ??大家好,我是愛編程的喵喵。雙985碩士畢業(yè),現(xiàn)擔任全棧工程師一職,熱衷于將數(shù)據(jù)思維應用到工作與生活中。從事機器學習以及相關的前后端開發(fā)工作。曾在阿里云、科大訊飛、CCF等比賽獲得多次Top名次?,F(xiàn)為CSDN博客專家、人工智能領域優(yōu)質創(chuàng)作者。喜歡通過博客創(chuàng)作

    2024年03月11日
    瀏覽(22)
  • Visual Studio Code Import “flask“ could not be resolvedPylance

    Visual Studio Code Import “flask“ could not be resolvedPylance

    首先,我使用的是 Visual Studio Code ,來編輯 python 代碼, 1.查看現(xiàn)象是否與我遇到的情況相同, flask 下面 有 波浪線 在 Visual Studio Code 的 TERMINAL 窗口里 運行 :pip --version 查看 pip 安裝的包 被放在 python 3.10 里,如下圖所示 而 我的 Visual Studio Code 使用的 python 版本是: 3.11.1 所以

    2023年04月14日
    瀏覽(15)
  • 解決 Centos 安裝 Python 3.10 的報錯: Could not import runpy module

    解決 Centos 安裝 Python 3.10 的報錯: Could not import runpy module

    操作環(huán)境 : CentOS 7 、 Gcc 4.8.5 、 Python 3.10.0 系統(tǒng)上已經(jīng)有 2.x , 3.6 版本的 Python 了,但是還是想裝一個 3.10 的。因為剛寫的腳本文件是較高版本的,在 3.6 上無法正常運行, Python 語法不是很了解,只能從環(huán)境上下手了。 【注】Python 其他版本也適用,畢竟是編譯器的問題,并

    2024年02月03日
    瀏覽(33)
  • could not import go.etcd.io/etcd/clientv3-go

    問題描述 今天在封裝etcd的時候導包報錯: 問題解決: get:確保下載了client包 tidy 本文由 mdnice 多平臺發(fā)布

    2024年02月14日
    瀏覽(17)
  • Could not find artifact mysql:mysql-connector-java:pom:unknown in central (https://repo.maven.apache

    報錯原因:Could not find artifact mysql:mysql-connector-java:pom:unknown in centra 解決方法: 在pom.xml文件中指定你的mysql版本。 dependency ????????groupIdmysql/groupId ????????artifactIdmysql-connector-java/artifactId ????????version5.1.43/version ????????scoperuntime/scope /dependency

    2024年02月13日
    瀏覽(21)
  • 【fastapi/uvicorn】ERROR: Error loading ASGI app. Could not import module “‘a(chǎn)pp‘“

    創(chuàng)建了以下fastapi的hello world程序,項目啟動時,提示錯誤: - ERROR : ? ?Error loading ASGI app. Could not import module \\\"main\\\". Helloworld.py: 調查發(fā)現(xiàn),在uvicorn.run函數(shù)聲明app的 文件路徑 應該是 Helloworld :app,而不是 main :app 將\\\'main:app\\\' 修改為‘Helloworld:app’即可正常運行: - python Helloworld.p

    2024年02月12日
    瀏覽(86)
  • ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repo

    ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repo

    問題描述: 在使用Git將本地倉庫推送到遠程倉庫的時候,發(fā)生了如下錯誤:“fatal: Could not read from remote repository.” 1、首先輸入以下命令檢查SSH是否能夠連接成功(ssh后面有空格) 發(fā)現(xiàn)報錯:端口連接超時。 解決方案(親測有效) 在C盤——用戶——你的主機名文件夾中找到

    2024年01月20日
    瀏覽(23)
  • IDEA報錯:Could not find artifact mysql:mysql-connector-java:pom:unknown in central (https://repo.maven

    IDEA報錯:Could not find artifact mysql:mysql-connector-java:pom:unknown in central (https://repo.maven

    IDEA 運行報錯:Could not find artifact mysql:mysql-connector-java:pom:unknown in central (https://repo.maven.apache.org/maven2) 報錯原因:Maven 找不到mysql 解決方案:由于之前IDEA?dependency?mysql: dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId /dependency 修改:在pom.xml文件中指定你的mysql版本。

    2024年02月13日
    瀏覽(20)
  • 解決在linux上git clone 時報錯 git@gitee.com: Permission denied (publickey). Could not read from remote repo

    解決在linux上git clone 時報錯 git@gitee.com: Permission denied (publickey). Could not read from remote repo

    今天在gitee上看到一個比較感興趣的項目,于是就想下載下來研究研究,結果git clone 克隆的時候報錯了,報錯如下: git@gitee.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists. Permission denied (publickey) 沒有權

    2024年02月11日
    瀏覽(30)
  • 【ROS2 Foxy】解決 connext 中間件導致的警告:NDDSHOME environment variable has not been set

    執(zhí)行安裝命令: 終端出現(xiàn)警告: 這里我不想用這個中間件了,所以選擇直接卸載: [1] How to supress Connext warning in ROS2

    2024年02月16日
    瀏覽(20)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領取紅包,優(yōu)惠每天領

二維碼1

領取紅包

二維碼2

領紅包