Sorry direct me to the answer if its been posted. I just got my first pi last week friend sent it to me for fun and i ordered a hat and a bunch of servos and away i go and im new to python and so this could be easy fix.
Hats on a pi Zero running python 3 and When i run my program in terminal importerror: No module named pi_searvo_hat. Works fine In thonny.
Thanks Hager