I moved your topic to an appropriate forum category @xianglu.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
@xianglu Hi there, can you specify the problems you´re dealing with? With an image I can´t see what you want trying to tell us. Code, version of the microcontroller, etc. Thanks.
Hi @xianglu. As the message says, the ESP8266 boards platform you are using has a dependency on Python 3.7 or higher.
Normally it would be a fairly simple matter of installing the necessary version of Python. However, it is a little more difficult because you are using the 3rd party Snapcraft package of Arduino IDE 1.x. The problem is that Snap runs Arduino IDE 1.x in an isolated "sandbox", meaning that your globally installed version of Python can't be used by Arduino IDE:
I think the most simple solution would be to install the official package of Arduino IDE, which does not run in a "sandbox", and thus can use your system Python for the ESP8266 boards platform. The download links are listed on the "Software" page:
Your reply to @xianglu
"I moved your topic to an appropriate forum category @xianglu."
what does that mean, if you moved @xianglu topic how do I find it to reply?
I am new to the forum and I have the answer for @xianglu
Did you get a useful answer?
The simple solution is to down rev ESP8266 by ESP8266 Community board to version 3.02 not the default 3.12.
mkbuildoptglobals.py requires python 3.7 in higher versions.
I'm using Ubuntu 18.04. and Arduino IDE 2.2.1;
I broke my system trying to install python3.7 for arduino ide.
I have run into exactly the same problem. A bunch of code that I need to update is suddenly un-updatable because I can't overcome the python 3.7 problem. And it's not just ESP8266 boards. This is very bad news for me.
I'm not sure I understood correctly what you mean by this. Please add a forum reply here that provides a more detailed description to help me to understand it.
You write "How does one go about thiis", but then the forum topic you linked to contains detailed instructions for doing it. Did you try follow those instructions? If so, were you able to complete them, or did you encounter some problem or confusion? If you did complete them, did they solve the problem for you?
Thank you rdc_fixit
I can't find to make python3.7 to be used by my snap IDE rather than python 3.6
i had only find (on [Bug]: Python 3.6 problem with some library's · Issue #33 · snapcrafters/arduino · GitHub) command to install libraries:
arduino.pip install requests
Do i go on the card's installation tab of my IDE, then choose for 8266 the 3.02.
So my NodeMCU 1.0 (esp-12E) is working