Mac converts socks5 proxy to http/https Proxy
GFW is lucky, pip is not busy, and it only supports http proxy.
The ss proxy is socks and listens to port 1080. So I used the privoxy tool to convert socks to http.
Download: http://download.csdn.net/detail/u010211892/8413677
After installation
/Usr/local/etc/privoxy/config file
Reference http://blog.newnaw.com /? P = 616 segments
Modify the Privoxy configuration file, find the line "listen-address", and change it to "listen-address 127.0.0.1: 6060", which is the port of the http Proxy you need; find the line "forward-socks5", remove the comment mark #, and change this line to "forward-socks5/127.0.0.1: 7070. ", 7070 is the port of the socks proxy. Restart Privoxy. Enter 127.0.0.1: 6060 In the ie proxy to access the Internet.
Then
Cd/usr/local/sbin/privoxy
Start
$./Privoxy -- no-daemon/usr/local/etc/privoxy/config
2015-02-01 00:25:09. 632 000001a8 Info: Privoxy version 3.0.23
2015-02-01 00:25:09. 632 000001a8 Info: Program name:./privoxy
Uncompetitive pip:
Pip -- proxy 127.0.0.1: 8010 install-r requirements.txt