pip install from git (beginner - intermediate) anthony explains #323

preview_player
Показать описание
today I show how to install python packages from git using pip -- I also show the tricky syntax needed to install from git over ssh (such as for private repositories)

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Комментарии
Автор

Wow the timing of this vid is spectacular.

sillybuttons
Автор

You read my mind. Had the same issue using drf spectacular, bearer was automatically appended in front auth token even after setting a customized bearer. Made an issue on github and a fixed was made. Then I had to search the web on how to download this patch. Great video man, thanks a lot.

tombraril
Автор

It is also kind of annoying to install a package from a private repository when my SSH key has a passphrase. pip does not prompt me to enter that passphrase. And on Windows, it does not remember the passphrase unless I enable OpenSSH Authentication Agent service & do a git clone, which WILL prompt the passphrase, so then I can make it work with pip. 🤕

senpos
Автор

Just curious though, can’t you just clone first using ssh and then run pip install on whatever branch or commit you want ?

ramkumarm