No distributions at all found for some package

后端 未结 9 1260
生来不讨喜
生来不讨喜 2021-01-01 12:19

error when installing some package but its actualy existing example django-ajax-filtered-fields==0.5

Downloading/unpacking django-aja

9条回答
  •  难免孤独
    2021-01-01 13:14

    Lots of solutions to this, most effectively coming down to update PIP. On MacOS (Sierra), This was my solution:

    • Download python3 installer of choice
    • Install Package (this includes a newer version of pip)
    • Remove old version of python from $PATH in ~/.bash_login (new one added by installer)
    • pip3 install packagename (no sudo)

    After that I was still prompted to update pip and did so: pip3 install --upgrade pip

提交回复
热议问题