Open z37a opened 1 year ago
I have the same issue, with pip 21.3.1 from /snap/arduino/85/lib/python3.6/site-packages/pip (python 3.6)
, Ubuntu v20.04
I also hit this issue as the Arduino core for ESP8266 chips now require Python 3.7 or newer.
I just encountered the same issue. While the bug is not fixed, as a workaround, I managed to get things working by switching to the older 3.0.2
version of the Arduino core for ESP8266 WiFi chip library.
What happened?
When you add the latest 8266 support from the IDE, you cant compile anything for these family boards. That's happens because the snap use Python 3.6, and these library's require 3.7 or newest.
What should have happened?
When you upload a new sketch using 8266 library
Output of
snap info $snap_name
Python 3 support
This version of Arduino IDE runs in a sandbox for improved security and stability. As a result, it does not have access to the Python libraries on your device.
Python 3 and the
serial
library are installed inside of the sandbox so they can be used by plugins. If a plugin needs additional Python 3 libraries, you can install them using thearduino.pip
command. For example, the following command installs therequests
library inside of the sandbox so the Arduino IDE can use it.Python 2 is currently not supported in this package because it reached end of life on January 1st 2020. If you have hardware that requires Python 2 support, please let us know.
Are you having issues?
Let us know by creating a new issue here: https://github.com/snapcrafters/arduino/issues commands:
latest/beta: 1.8.19 2022-12-04 (85) 205MB - latest/edge: 1.8.19 2022-12-08 (91) 205MB - installed: 1.8.19 (85) 205MB -
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
Teminal output of app