Why won't Python package install from my personal PyPI server?

后端 未结 3 1072
攒了一身酷
攒了一身酷 2021-01-19 10:55

I\'ve created a personal PyPI \"packages\" server on a Debian 9/Nginx box so that I can make my server builds deterministic. I pin all my Python packages and need to ensure

3条回答
  •  孤街浪徒
    2021-01-19 11:00

    For my private package server, the only thing that worked was --extra-index-url:

    --extra-index-url https://foo.redacted.com/
    Django
    my_other_package
    

    This will check pypi first, then your private server. One thing that's helped with debugging it is to use --verbose to show what's happening with the connection.

提交回复
热议问题