Updating the pip.conf file to use https

后端 未结 4 1153
傲寒
傲寒 2021-02-06 03:06

I am having trouble configuring my pip.conf file to stipulate that PIP should look for downloads from https://pypi.python.org/simple/ rather than http://pypi.python.org/simple/

4条回答
  •  名媛妹妹
    2021-02-06 04:04

    From latest guide: https://pip.pypa.io/en/stable/user_guide/#config-file

    The new default configuration file is: $HOME/.config/pip/pip.conf

    Legacy per-user configuration file which is also respected:

    On Unix and macOS the configuration file is: $HOME/.pip/pip.conf

提交回复
热议问题