-
Hi! I'm getting the following error when trying to execute
I already run I'm using latest upydev version 0.4.3 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hmm. It was quite confusing, but seems like I found the issue. I used OTA micropython version which doesn't support f-strings (micropython/micropython#8450). However I didn't see any error message when trying to Though, I solved this issue and most shell commands work,
But it works when running from REPL:
|
Beta Was this translation helpful? Give feedback.
-
@stas-sl import sys
sys.path[:] = ['', '/lib', '/', '.frozen'] And that should fix it. This happens because MicroPython recently started to include its version of
And default
So calling |
Beta Was this translation helpful? Give feedback.
-
Hi @Carglglz, |
Beta Was this translation helpful? Give feedback.
@stas-sl
Hi, TLDR: add these lines of code in
boot.py
ormain.py
And that should fix it.
This happens because MicroPython recently started to include its version of
upysh.py
as a frozen module i.e.frozen
, you can see this with