win10 python永久换源-- 解决VSCode配置ESP IDF到最后python virtual environment 错误 问题

2023-11-15

运行shell
找到 python 的 Scripts 文件夹下
例如:
cd F:\ESP\VSC-ESP32-ENV\python_env\idf4.4_py3.8_env\Scripts
执行它
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple

常用的国内源

 腾讯
http://mirrors.tencentyun.com/pypi/simple
 阿里
https://mirrors.aliyun.com/pypi/simple
 豆瓣
https://pypi.douban.com/simple
 中科大
https://pypi.mirrors.ustc.edu.cn/simple/
 清华
https://pypi.tuna.tsinghua.edu.cn/simple
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

win10 python永久换源-- 解决VSCode配置ESP IDF到最后python virtual environment 错误 问题 的相关文章