Closed
Description
Hello,
My configuration
- Opensuse Leap 15.5
- Arduino IDE 1.8.19
- I add this link in my preference "https://arduino.esp8266.com/stable/package_esp8266com_index.json"
- esp8266 version 3.1.2
My distribution uses Python 3.6 and your script is compatible with Python >= 3.7
I can install other versions 3.9, 3.10, 3.11
e.g. sudo zypper install python39
or python310 or python311
But my shortcut python3
is still on Python 3.6.
For system dependency reasons, it is not recommended to change this.
For Python 3.9, I need to run the python3.9
command.
I modified the file :
/home/xxx/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3
#!/usr/bin/env python3
import os
import sys
--args = ["env", "python3"] + sys.argv[1:];
++args = ["env", "python3.11"] + sys.argv[1:];
os.execv("/usr/bin/env", args)
And now it work !
Sincerely
Metadata
Metadata
Assignees
Labels
No labels