I would like to install a package from private repo but when I run this:
pip install myapp -i https://myrepo.net/pypi/myfeed/simple
I got this error
ERROR: Could not find a version that satisfies the requirement myapp (from versions: none)
ERROR: No matching distribution found for myapp
I assume this is because requirements for this package are not in the private repo, so I tried to add extra-index-url
pip install myapp -i https://myrepo.net/pypi/myfeed/simple --extra-index-url https://pypi.python.org/pypi
But I got the exact same error
What am I doing wrong?
It's likely that either myapp
was not found on your index at all, or that a compatible distribution of myapp
does not exist - for example, it requires a different version of Python than you are attempting to install with.
Running pip
with the --verbose
flag should tell you why it wasn't able to install myapp
:
pip install myapp -i https://myrepo.net/pypi/myfeed/simple --verbose