Cloning into 'detectron2'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
时间: 2023-08-24 16:10:20 浏览: 151
windows下Idea使用git clone failed. Could not read from remote repository.
It seems like you're encountering a "Permission denied" error while cloning the 'detectron2' repository from GitHub. This error commonly occurs when you don't have the proper access rights or authentication to access the repository.
To resolve this issue, you can try the following steps:
1. Make sure you have the correct SSH key associated with your GitHub account. You can check this by running the following command in your terminal:
```
ssh -T git@github.com
```
If you see a message like "Hi [your-username]! You've successfully authenticated...", it means your SSH key is set up correctly. Otherwise, you might need to generate a new SSH key and add it to your GitHub account.
2. If the SSH key is set up correctly, try cloning the repository using HTTPS instead of SSH. Use the HTTPS URL provided on the GitHub repository page and run the following command:
***
阅读全文