pip config edit --editor code # pip config edit --editor vim
add huawei cloud mirror in pip.conf
pip.conf
[global] index-url = <https://repo.huaweicloud.com/repository/pypi/simple> trusted-host = repo.huaweicloud.com timeout = 120