By JamesSand
# Enable vpn
source /etc/network_turbo
# Disable vpn
unset http_proxy && unset https_proxy
install a package with proxy
pip install nbsphinx --proxy=http://127.0.0.1:7890
install packages in requirements.txt with proxy
pip install -r requirements.txt --proxy=http://127.0.0.1:7890