We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://blog.philip-huang.tech/?page=blog_dockerfile_gh-action_ssh_pip-install-private
對Python有進階認識的可能會知道可以直接從github repo安裝套件,對public repo可以這樣做
pip install git+https://github.com/USERNAME/REPO.git
那如果是一個private repo呢?這時候我們就必須使用ssh來進行身份認證
pip install [email protected]/username/private_repo.git
本機環境操作 直接使用上面的指令會發生permission denied;我們需要先產生一組ssh-key,並且添加到GitHub帳號中
ssh-key
https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://blog.philip-huang.tech/?page=blog_dockerfile_gh-action_ssh_pip-install-private
- tags: dockerfile gh-action ssh pip-install-private - date: 2021/10/6對Python有進階認識的可能會知道可以直接從github repo安裝套件,對public repo可以這樣做
那如果是一個private repo呢?這時候我們就必須使用ssh來進行身份認證
本機環境操作
直接使用上面的指令會發生permission denied;我們需要先產生一組
ssh-key
,並且添加到GitHub帳號中The text was updated successfully, but these errors were encountered: