platformIO安装过程中速度慢、卡住的解决方法

资源管理器定位到

C:\Users\VSCode安装用户名\.platformio\penv

打开pip.conf文件添加如下内容

# 超时时间,可自行调整
 
timeout = 6000
 
# 源地址,这里使用阿里云镜像
 
index-url = http://mirrors.aliyun.com/pypi/simple/
 
# 添加源主机为可信主机
 
trusted-host = mirrors.aliyun.com

即可正常安装

posted @ 2024-09-02 23:10  鞠雨童  阅读(1302)  评论(0)    收藏  举报