pip download python Foreign source is used by default , Download is slow , Consider replacing it with a domestic source .
Tsinghua University pip Source , It's the official website pypi Mirror image , every other 5 Sync once a minute , Recommended .
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
–trusted-host pypi.tuna.tsinghua.edu.cn packagename
pip install -i http://pypi.douban.com/simple
–trusted-host pypi.douban.com packagename
pip install -i http://mirrors.aliyun.com/pypi/simple
–trusted-host mirrors.aliyun.com/pypi/simple/ packagename
modify ~/.pip/pip.conf file , If not, create a , Write the following ( Take Qinghuayuan for example ):
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = pypi.tuna.tsinghua.edu.cn
https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxmlpip
install cvxpy-xxx.whl