env: python3: No such file or directory exit status 127 FER ESPectro Core 编译出错

苹果电脑安装了Arduino,布置ESP8266开发环境,编译程序过程中出现错误:

env: python3:
No such file or directory
exit status 127
为开发板 ESPectro Core 编译出错

 

 原因:python2在2020年1月1日停止更新。要使用python3,而Arduino没有找到python3。

 

解决办法:安装python3,

1、python下载官网 https://www.python.org/downloads/mac-osx/      下载3.0以后的版本

2、安装python之后,执行下面命令:

$ cd / Users / [您的用户名] /Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/
$ rm python3
$ which python3
$ ln -s [以上返回的路径命令] python3

 

posted @ 2020-05-16 21:50  一文搞懂  阅读(1639)  评论(0编辑  收藏  举报