Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling error #1039

Closed
fredykoci opened this issue Dec 12, 2022 · 7 comments
Closed

Compiling error #1039

fredykoci opened this issue Dec 12, 2022 · 7 comments

Comments

@fredykoci
Copy link

HI, When I try to build arduino sketch on rp2040 board compiler send error message about python modules. Python can not find encodings packages.

There is full message from compiler:

Arduino: 1.8.19 (Windows 10), Vývojová deska: "Raspberry Pi Pico, 2MB (no FS), 133 MHz, Small (-Os) (standard), Disabled, Disabled, Disabled, Disabled, None, Pico SDK, IPv4 Only"

Fatal Python error: initfsencoding: unable to load the file system codec

ModuleNotFoundError: No module named 'encodings'

Current thread 0x00002554 (most recent call first):

exit status -1073740791

Nastala chyba při kompilaci u desky Raspberry Pi Pico.

@maxgerhardt
Copy link
Contributor

Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Same error as in #976, please try cleanly uninstalling and reinstalling the Arduino-Pico core.

@fredykoci
Copy link
Author

Done Now I have a trouble with compiling code which is able to run when I compiling it on Mac but not on new installation Arduino and other libraries on PC. Compiling and Uploading is correct but after rp2040 restart it do not work and do not provide me com port and after that I have to force restart pico

@maxgerhardt
Copy link
Contributor

maxgerhardt commented Dec 12, 2022

And what version of Arduino-Pico is installed on the Mac? (Tools -> Board -> Board Manager).

Does this happen with the simplest possible sketch

void setup() { Serial.begin(9600); }
void loop() {}

too?

@fredykoci
Copy link
Author

On mac 2.5.0 on PC also 2.5.0, and with this example it also works

@maxgerhardt
Copy link
Contributor

Can you upload the full sketch? Have you doubled checked that also all externall Arduino libraries used in the sketch are equal between Mac + PC?

@fredykoci
Copy link
Author

I can not send full scetch due NDA but I check whole libraries manualy

@earlephilhower
Copy link
Owner

Thanks for the assist, @maxgerhardt . I'm closing this as a dup of #976 as you mentioned.

Very odd this started happening recently. The ESP8266 core has the same Python ZIP file and I don't think I've heard any issues like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants