我正在嘗試運行此代碼https://github.com/orybkin/video-gcp。它需要我先克隆 GitHub 存盤庫
git clone --recursive [email protected]:orybkin/video-gcp.git
cd video-gcp
virtualenv -p $(which python3) ./venv
source ./venv/bin/activate
pip3 install -r requirements.txt
python3 setup.py develop
我無法這樣做,因為該命令git clone --recursive [email protected]:orybkin/video-gcp.git給了我一條錯誤訊息
(base) PS C:\Users\kong> git clone --recursive [email protected]:orybkin/video-gcp.git
Cloning into 'video-gcp'...
The authenticity of host 'github.com (140.82.121.3)' can't be established.
ED25519 key fingerprint is SHA256: DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我應該如何解決這個問題?
@Sercan:謝謝。我試過但仍然有幾個錯誤。我無法克隆 blox 和 gym-miniworld 檔案夾。我和你有相同的 git 版本。
(base) PS C:\Users\kong> git clone --recursive git://github.com/orybkin/video-gcp.git
Cloning into 'video-gcp'...
remote: Enumerating objects: 192, done.
remote: Counting objects: 100% (176/176), done.
remote: Compressing objects: 100% (149/149), done.
remote: Total 192 (delta 21), reused 162 (delta 13), pack-reused 16 eceiving objects: 96% (185/192), 24.05 MiB | 8.01 MiB/s
Receiving objects: 100% (192/192), 25.96 MiB | 8.11 MiB/s, done.
Resolving deltas: 100% (21/21), done.
Submodule 'blox' ([email protected]:orybkin/blox-nn.git) registered for path 'blox'
Submodule 'gym-miniworld' ([email protected]:kpertsch/gym-miniworld) registered for path 'gym-miniworld'
Cloning into 'C:/Users/kong/video-gcp/blox'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:orybkin/blox-nn.git' into submodule path 'C:/Users/kong/video-gcp/blox' failed
Failed to clone 'blox'. Retry scheduled
Cloning into 'C:/Users/kong/video-gcp/gym-miniworld'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:kpertsch/gym-miniworld' into submodule path 'C:/Users/kong/video-gcp/gym-miniworld' failed
Failed to clone 'gym-miniworld'. Retry scheduled
Cloning into 'C:/Users/kong/video-gcp/blox'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:orybkin/blox-nn.git' into submodule path 'C:/Users/kong/video-gcp/blox' failed
Failed to clone 'blox' a second time, aborting
(humoro) PS C:\Users\kong> git --version
git version 2.31.1.windows.1
(humoro) PS C:\Users\kong>
uj5u.com熱心網友回復:
我使用以下命令克隆了您使用子模塊指定的專案:
git clone --recursive git://github.com/orybkin/video-gcp.git
該.gitmodules檔案需要更新的克隆是成功的:
[submodule "blox"]
path = blox
url = git://github.com/orybkin/blox-nn.git
[submodule "gym-miniworld"]
path = gym-miniworld
url = git://github.com/kpertsch/gym-miniworld.git
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/405095.html
標籤:
上一篇:降低演算法復雜度的方法
下一篇:在運行專案時從Git拉取更新
