Open cundi opened 8 years ago
原始链接:http://hehan.net/use-socks5-proxy-for-pip-install.html
pip install doesn't provide the native socks5 proxy support.
Use a tool named proxychains which chains the connection through proxy.
On Fedora, install via sudo dnf install proxy chains.
To change the default socks5 proxy, modify /etc/proxychains.conf, under [ProxyList] add one line:
socks5 127.0.0.1 1080
How to use:
proxychains pip install requests
Done! Happy pip with socks5 proxy.
原始链接:http://hehan.net/use-socks5-proxy-for-pip-install.html
Use socks5 proxy for pip install
Issue
pip install doesn't provide the native socks5 proxy support.
Solution
Use a tool named proxychains which chains the connection through proxy.
On Fedora, install via sudo dnf install proxy chains.
To change the default socks5 proxy, modify /etc/proxychains.conf, under [ProxyList] add one line:
How to use:
Done! Happy pip with socks5 proxy.