mosquito / pypi-server

Tornado based server like pypi.python.org. With caching from pypi.
MIT License
120 stars 38 forks source link

Package not found #24

Closed trondhindenes closed 6 years ago

trondhindenes commented 6 years ago

I've successfully uploaded a package, but I can't pip install it. I'm using: pip3 install mypackage -i https://myserver.domain.com/pypi --verbose and can see that pip is getting a 404 back.

I can see in the pypi-server logs that it logs a 404 when I attempt to install a package.

I'm not too familiar with the intricasies of pip, but shouldn't this work?

mosquito commented 6 years ago

/pypi is an rpc endpoint. For retreiving any package use the /simple/ endpoint.

trondhindenes commented 6 years ago

Thanks! Might be something to include in the readme.

mosquito commented 6 years ago

May be. But it's standard paths for global pypi.