ImportError upon connecting/Older UF2 downloads? #11132
Unanswered
crimsonbytes
asked this question in
RP2040 / Pico
Replies: 1 comment
-
There are 4 recent nightly builds on the download page for the pico as well as stable versions going back to 1.14. At least there are on the page I'm viewing on my tablet. Though I suspect your problem is with Thonny not micropython. Have you tried running it via mpremote or in a terminal emulator? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running into an issue where after updating the firmware and connecting to the pico I immediately get an ImportError exception. Looks like this is a bug in Python itself from what I'm gathering, however, the download page for the pico only lists last night's builds. Where can I find older builds to see if that corrects the problem?
Or if it's not what I suspect but someone else already knows the answer:
Traceback (most recent call last):
File "C:\Program Files (x86)\Thonny\lib\site-packages\thonny\plugins\rp2040\rp2040_back.py", line 5, in
from thonny.plugins.micropython.bare_metal_backend import (
File "C:\Users\flash\AppData\Roaming\Python\Python310\site-packages\thonny\plugins\micropython_init_.py", line 39, in
from thonny.running import BackendProxy
File "C:\Users\flash\AppData\Roaming\Python\Python310\site-packages\thonny\running.py", line 34, in
from thonny.code import get_current_breakpoints,
File "C:\Users\flash\AppData\Roaming\Python\Python310\site-packages\thonny\code.py", line 12, in
from thonny.codeview import CodeView
File "C:\Users\flash\AppData\Roaming\Python\Python310\site-packages\thonny\codeview.py", line 8, in
from thonny import get_workbench, roughparse, tktextext, ui_utils
File "C:\Users\flash\AppData\Roaming\Python\Python310\site-packages\thonny\roughparse.py", line 8, in
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Program Files (x86)\Thonny\lib\collections_init_.py)
Beta Was this translation helpful? Give feedback.
All reactions