调出CMD,直接输入 pip config set global.index-https://pypi.tuna.tsinghua.edu.cn/simple 在Windows下可以用这条命令直接更改到清华的pip源