Search code examples
pythonpippypi

Python PIP not showing pypi package


Short Question

Is there a delay between when a package is added to PyPi and its availability via pip?

Background

I have recently pushed a package up to PyPi. From what I tell there were no errors with this step (it registered OK), but I cannot use pip to install the package.


Solution

  • This blog post describes the possible problem you are facing. You probably have the same problem and forgot to upload your package, but only registered it, because the package you linked has no files to download.

    The solution (taken from the above linked blog post) is to use the command

    python setup.py sdist upload