MicroPython lets you use your Python knowledge to write code to interact with electronics components. (In case you're wondering why I want 3.9, it's because 3.7 has a bug in n() that causes Python to hang if the subprocess never returns - the timeout doesn't work. MicroPython is a version of the Python programming language for microcontrollers, such as your Raspberry Pi Pico W. Use 'Stop/Restart' to restart.Īlso, how to install packages for Python 3.9? When I do pip3 install, the package gets installed for Python 3.7. Thonny-py5mode is a plug-in that installs and configures Thonny for use with py5, a Python (3.8+) framework that leverages Processings core libraries. ModuleNotFoundError: No module named '_tkinter'īackend terminated or disconnected. Project description thonny-py5mode A py5 plug-in for Thonny Use the Thonny Python IDE as a Processing PDE alternative for creative coding. Import _tkinter # If this fails your Python may not be configured for Tk Return _get_module_details(pkg_main_name, error)įile "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_detailsįile "/usr/lib/python3/dist-packages/thonny/plugins/cpython/_init_.py", line 5, in įile "/usr/local/lib/python3.9/tkinter/_init_.py", line 37, in Right click on the picozero.py and select Upload to. ![]() Use the path to navigate to the directory where you saved the picozero.py file. Load Thonny from your application menu, then from the View menu, choose to see files. Mod_name, mod_spec, code = _get_module_details(mod_name, _Error)įile "/usr/local/lib/python3.9/runpy.py", line 147, in _get_module_details Option 1 - Transfer files using Thonny file manager On the computer connect your Raspberry Pi Pico using a microUSB cable. I get this error: Traceback (most recent call last):įile "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main In Thonny I tried Run>Interpreter and put in the path to Python 3.9 (/usr/local/bin/python3.9). (I installed 3.9 using the instructions here: ) ![]() ![]() I've managed to install Python 3.9 on the Pi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |