Arduino ESP8266:找不到 pyhon 可执行文件?



我已经使用 Arduino 好几年了,只是遇到了这个奇怪的错误:

exec: "python": executable file not found in $PATH Error compiling for board Generic ESP8266 Module.

我的环境:- 电脑版 Ubuntu 18.04- Arduino IDE 1.8.5- 安装了Python 2.7.15 rc1,如果您在终端中键入"python",它将运行

自从我使用Arduino以来,这是我第一次遇到与python相关的错误。

任何想法可能出了什么问题?

提前感谢!

在 Python 2.x 中安装 pyserial。 串行将不起作用。

我意识到这有点长了,只是添加了解决方案以供将来参考。

最新更新