platformIO安装方法汇总--新建项目下载慢的解决办法

platformIO安装方法汇总供参考

1.PlatformIO离线安装终极方法

2.PlatformIO开发环境搭建

3.VsCode PlatformIo 插件新建项目下载慢的解决办法

下载慢参考2:

https://blog.csdn.net/Reasally/article/details/145861321

换源2:

  • 打开任务管理器,结束进程platformio.exe和所有的Python.exe进程全部结束

  • 打开文件C:\用户名\你的用户名.platformio\penv\pip.conf,修改为如下配置

[global]
index-url = https://mirrors.huaweicloud.com/repository/pypi/simple

[install]
trusted-host = mirrors.huaweicloud.com

 

参考

Well let’s see if you can get to see progress first.

Please open a PIO CLI 319 and execute

mkdir ble_test
cd ble_test
pio init -b nano33ble
pio run

Does that have some progress indicators?

参考2

platformio更改默认包(还是lib?)的下载路径

clash for windows

 

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple/
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn

支持(0) 反对(0)

 

参考3:

打开:D:\PLATFORMIO_CORE\penv\pip.conf,替换如下内容,再属性设置为只读


[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host = mirrors.aliyun.com

 

 

 

posted @ 2023-08-22 08:43  txwtech  阅读(2086)  评论(3)    收藏  举报