Gilles Criton
Gilles Criton

Reputation: 781

Does pip only use PyPI or does it use other domains to find packages?

I know that by default, pip uses PyPI to look for packages. I would like to know if there are other domains other than PypI that pip uses.

Upvotes: 4

Views: 1777

Answers (2)

Anger
Anger

Reputation: 101

PIP Can install from

  • PyPI
  • VCS project URL
  • Local project directories
  • Local or remote source archives

to run from a local passage you can input pip install /opt/mypackage

Finally, run pip install --help to see all installation options

Upvotes: 3

Shiplu Mokaddim
Shiplu Mokaddim

Reputation: 57660

PIP can install from many different sources. You can find the whole list here

You can also setup your own Python package repository and configure pip to install from there.

Upvotes: 3

Related Questions