Thankyou for your help after eventually understanding what it is you wanted to do ( my fault not yours) Your suggestions have solved my problem. Thank you.
I think the issue was that when I first installed the Picadehat software from the instructions on the website. The software was not installed correctly and the picade-hat folder was empty?
I noticed that after cloning the git hub filesto my Raspberry Pi it did not place them in a Pimoroni folder.
Anyway all good now thanks