Replies: 2 comments 1 reply
-
In Thonny, please double check the interpreter configured, in menu Run/Configure Interpreter. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The Error
I assume you have tried to install some other non-MicroPython logging module from somewhere , that does not work on MicroPython. Yoyu can check by running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying to import the logging module into my ESP32 rover module
using Thonny, however I always get an error as shown below.
>>> import logging
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/lib/logging/__init__.py", line 618
SyntaxError: invalid syntax
I have reloaded the library as well as the firmware and tried older versions of firmware getting similar results.
Can someone advise me where the problem maybe.
Thanks
Oneil
Beta Was this translation helpful? Give feedback.
All reactions