Pico W - PicoGraphics Error


I am using Pico W with the Pico Breakout Garden Pack and the 1.54" SPI Colour Square LCD (240x240) Breakout
I installed the correct uf2 file pimoroni-picow-v1.19.8-micropython.uf2
I am using Thonny IDE. I am on the Raspberry Pi 4, 8 GB RAM running Ubuntu latest version, desktop edition.
I used as a test file the breakout_colourlcd240x240

Despite using the correct libs and uf2 file I am getting the following error:

ModuleNotFoundError: No module named ‘picographics’
cpython_backend.py, line 314

I would greatly appreciate any help on this issue.
Thank you.

Do you have MicroPython (Raspberry Pi Pico) selected as your interpreter in Thonny (bottom right)? The reference to cpython_backend.py makes me think Thonny might be trying to run your code with the wrong Python interpreter…

You’ll need to be running a recent version of Thonny to be able to select this option.


Thank you for your answer.
Too new to this micro controller programming… so I was not knowing about this.
I changed it to the Pico’s Micro-Python and now it works fine.

I am trying to run now the code for the rgbmatrix5x5

I am getting the following error:

Traceback (most recent call last):
File “”, line 3, in
ImportError: no module named ‘colorsys’

Any idea why is not finding this module?
Thank you.

Looks like you’re trying to run a Python example there - the rgbmatrix5x5-python repo is for if you’re using your breakout with a Raspberry Pi.

There’s a MicroPython example that will work with Pico/RP2040 here: