ImportError: no module named 'picobricks'

I have a very basic issue wherein error occurs when trying out codes that requires the picobricks module.

Problem was seen on both firmware version 1.18 and 1.19.

Other codes tried that does not have the picobricks module are OK.

Can you please advise on what to do with the setup? Thanks!



Answers

  • ozerngg
    edited March 2023

    Hi,

    Can you try it after installing the libraries in the link (just picobricks.py, main.py, and resources.py) into the Raspberry Pi Pico by following the steps below?

    • Open code in Thonny
    • Connect the computer with PicoBricks
    • Press ctrl+shift+s to open the save tab and select Raspberry Pi Pico
    • Save libraries with their own names into Raspberry Pi Pico (for example, picobricks.py, main.py etc.)
    • Then, you can run whatever code you want.

    Have a great day!

  • Hello @ozerngg

    Your advice work for me :)

    Thanks a lot

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!