wget -e "http_proxy=http://192.168.1.100:8080" http://mirrors.aliyun.com/centos/7/os/x86_64/Packages/yum-3.4.3-168.el7.centos.noarch.rpm
若訪問的是https協(xié)議,則改為https_proxy
curl -x http://192.168.1.100:8080 -o CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
pip3 install pyodbc -i https://mirrors.aliyun.com/pypi/simple/ --proxy=192.168.1.100:8080