Having fun playing with the PiicoDev modules, all working nicely.
Used Thonny on a PC connected to Pi Zero W via SSH and ran the tutorial scripts. Good good.
Developed code for the Environment Monitor V3 using Thonny but when I ran it in a Terminal Window it could not find the PiicoDev libraries.
Traced it to the install instruction for PiicoDev.
pip3 install piicodev Installs to
which Thonny is ok with and if installed from Thonny it uses the same folder.
When running from a Terminal Window, Python looks in :-
Running the install as
sudo pip3 install piicodev the libraries install to the correct directory and the Python code ran from a Terminal window ok.
Just thought I would post this here for others who may have the same issue.
Also it may help if the GitHub instructions are updated.
It took me some time to find what was the problem.
But all good now and still having fun.