Conda & Pip Proxy 設定
某次因 Server 上需先掛 Proxy 後才能上網導致 Python 安裝套件過程中需要設定 Proxy 才能下載套件紀錄。
Conda and Pip Proxy Setting
Conda Proxy Setting
conda config --set proxy_servers.http http://<account>:<password>@<IP>:<Port>
conda config --set proxy_servers.https http://<account>:<password>@<IP>:<Port>
Pip Proxy Setting
pip config set global.proxy http://<account>:<password>@<IP>:<Port>
Writing to /root/.config/pip/pip