For example, to change to Tsinghua source, enter
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
For example, to change to Tsinghua source, enter
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple