1

I know that one can pip install directly via github so long as the github repo is set up correctly for installation. For example:

pip install git+https://git.example.com/MyProject

I went through the relevant section in the pip documentation but didn't find any information regarding updating. I've also read through two other related threads (this and that) on pip installing via Github, but they also didn't mention about updating. It was tempting to try

pip install -U git+https://git.example.com/MyProject

where -U stands for update, but I'm not sure will this work. Has anyone tried something like this before?

phd
  • 82,685
  • 13
  • 120
  • 165
Remy Lau
  • 142
  • 1
  • 4
  • 1
    You can update from a git repo. Why not give it a try! – Nathan Mar 04 '22 at 19:30
  • Do you have python installed? You can download the script they reference in the guide and then run `python get-pip.py`. https://pip.pypa.io/en/stable/installation/#get-pip-py – Jeff Gruenbaum Mar 04 '22 at 19:44

0 Answers0