嵌入式|在 win7 上安装 PlatformIO CLI IOT编译器

1.安装 Python2.7 版本。
2. 安装 python 工具包 pip ,下载地址是:https://pypi.python.org/pypi/pip#downloads
【嵌入式|在 win7 上安装 PlatformIO CLI IOT编译器】嵌入式|在 win7 上安装 PlatformIO CLI IOT编译器
文章图片

下载完成后解压到任何一个文件夹,CD 到这个文件夹后,运行

python setup.py install

安装好后会自动放在 [python]\Scripts; 目录下,把这个目录设置到环境变量 PATH.
3. 使 python 能自动使用代理服务器上网,在 win7 的环境变量里添加:(参考)
HTTP_PROXY=http://username:password@server_url:port HTTPS_PROXY=http://username:password@server_url:port

4. PlatformIO 是用 python 来写的,所以上面的设置对所有的 python 有效.
5. 安装 PlatformIO CLI,参考
pip install -U platformio

6. 完成
转载于:https://my.oschina.net/u/2422219/blog/737862

    推荐阅读