python InsecurePlatformWarning when downloading pip on Windows (python 2.7.5)

后端 未结 3 1505
后悔当初
后悔当初 2021-01-26 02:35

To download pip on Windows, I followed https://pip.pypa.io/en/stable/installing/ (downloading the get-pip.py file, and then running it on Command Prompt).

However, I got

相关标签:
3条回答
  • 2021-01-26 03:17

    There is something blocking your installation. Try to add proxy and try it:

    set HTTP_PROXY=http://<<username>>:<<password>>@<<proxy server>>:<<proxy_port>>
    set HTTPS_PROXY=https://<<username>>:<<password>>@<<proxy server>>:<<proxy_port>>
    
    0 讨论(0)
  • 2021-01-26 03:24

    You can upgrade to a newer version of Python to solve this.

    So to answer your question: Yes, get a new version of python. According to the docs, you need python 2.7.9 or higher.

    edit: I didn't see your version (2.7.5). So yes, it is a version issue. Updating python would solve it.

    0 讨论(0)
  • 2021-01-26 03:39

    In my case, updating python version to 2.7.16 worked

    0 讨论(0)
提交回复
热议问题