You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users report that when upgrading or downgrading the Arduino-Pico core from 2.6.1 to 2.6.3 (or reverse), updating of the core would fail at the Python interpreter. This leaves the Python interpreter package folder without some crucial files without which it cannot start, and so users get a
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
when attempting to further compile something.
Reproduction
The steps I used (some may not be needed though):
Install the Arduino IDE from the .zip package for Windows
Install Arduino-Pico's latest version as described
Compile a blink sketch for the Pico. It should compile normally
I get the same error with 3.3.0
However, if I remove it and use 3.2.2, it compiles.
Setup:
Windows 10
Python 3.9.5 (Path variables set and runs at command line)
Arduino IDE 1.8.19
Versions
Arduino IDE: Latest 1.8.19
OS: Windows 11 x64, (
ver
:Version 10.0.22000.1219
), in Oracle VirtualBox from MicrosoftArduino-Pico: 2.6.3 -> 2.6.1
Description
Per earlephilhower/arduino-pico#976.
Users report that when upgrading or downgrading the Arduino-Pico core from 2.6.1 to 2.6.3 (or reverse), updating of the core would fail at the Python interpreter. This leaves the Python interpreter package folder without some crucial files without which it cannot start, and so users get a
when attempting to further compile something.
Reproduction
The steps I used (some may not be needed though):
Expected Behavior
The downgrade is done successfully.
Actual behavior
The downgrade fails with
Exception text
The Python folder is half-deleted / upgraded, with many files missing, crippling it so heavily that
python3.exe
cannot start anymore.Should look like
Additional context
Additional reports
The text was updated successfully, but these errors were encountered: