pip not installing modules

后端 未结 3 1013
时光说笑
时光说笑 2020-12-13 21:44

As per object. I\'m running Python 2.7.10 under Windows 7 64 bit. I added C:\\Python27\\Scripts to my PATH, and I can run pip, but it\'s not able to install mod

3条回答
  •  无人及你
    2020-12-13 22:19

    Proxy shall be used. For example:

    python.exe -m pip install numpy --proxy="proxy.com:8080"
    

    where "proxy.com:8080" is proxy server address and port. This can be found in OS settings.

    How to get them:

    1. Windows: What Is a Proxy or Proxy Server
    2. Linux How can I find out the proxy address I am behind?
    3. OSX: How can I get Mac OS X's proxy information in a Bash script?

提交回复
热议问题