How to install python modules without pip?

后端 未结 1 424
抹茶落季
抹茶落季 2021-01-24 08:08

I have tried installing python modules with pip and I get the following:

proof that pip is installed

PS C:\\Users\\usename\\App         


        
相关标签:
1条回答
  • 2021-01-24 08:50

    I've seen this error before, it is usually caused by being behind a corporate proxy, or you have been pwned.
    Assuming its the proxy, you need to figure out what your https proxy is and add it to the pip command like so:

    pip install requests --proxy=https://my_proxy.com:xxx
    

    where xxx is the port of your proxy

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