Skip to content
Advertisement

Pip install a whl on a private github repo?

How can one install a .whl (python library) from a private github repo?

I have setup a personal access token and can install the library if its not a .whl by using the following command

JavaScript

However if there is a .whl in the repo and I want to install from that using:

JavaScript

Then I get the following error:

JavaScript

I am stumped! You can pip install {name.whl} if the file is locally but not from the private github repo.

Quesiton: How to pip install name.whl on a private github repo?

Advertisement

Answer

You should be able to do

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement