Pico modules not found

Have tried to run a script that imports matlibplot.
I install via Thonny / Tools / Manage Plug-Ins.
It successfully installs but on running MicroPy script it says no such module

2 Likes

Hi Steffan,

matplotlib is oriented towards the full version of python on a computer.
Thonny is able to plot data from a microcontroller if you add print statements with delimiters (it handles them quite elegantly).
This guide includes the inbuilt plotter: PiicoDev Distance Sensor VL53L1X - Raspberry Pi Pico Guide - Tutorial Australia

2 Likes

Hi Steffan,

Liam is right on this one, Matplotlib is one of the libraries with no MPy support.

If you just need to display simple data without too much resolution, and you want something that runs entirely on the Pico, you can graph things on an OLED display:

All the best with the project and let me know if you have any followup questions!

1 Like