Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

python3 demo code stat.py "module digitalio not found"
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

python3 demo code stat.py "module digitalio not found"

by tommynar on Wed Jun 10, 2020 6:33 am

I encountered a disk error and had to rebuild my Raspberry install. After installing blinka and all the libraries specified in the demo program STAT.PY, I am now getting this error of missing library "digitalio". I found the blinka on GitHub and even hand created digitalio.py in my home directory, but now it tells me in stat.py in digitalio.py module ...blinka.agnostic (or something) not found.

I am lost now. I've tried forcing update of the blinka library, but I must have found a link to an old file and don't know how to fix this.

Please help.

Thanks
Tom
Attachments
stat.zip
(2.13 KiB) Downloaded 1 time

tommynar
 
Posts: 12
Joined: Sat Jan 19, 2019 1:22 am

Re: python3 demo code stat.py "module digitalio not found"

by adafruit_support_carter on Wed Jun 10, 2020 12:27 pm

When you did the initial Blinka install, did it pass this test?
https://learn.adafruit.com/circuitpytho ... 3030038-15

adafruit_support_carter
 
Posts: 15963
Joined: Tue Nov 29, 2016 2:45 pm

Re: python3 demo code stat.py "module digitalio not found"

by tommynar on Wed Jun 10, 2020 4:56 pm

That link just lists projects, I'm not sure what I'm being asked to do.

Tom

tommynar
 
Posts: 12
Joined: Sat Jan 19, 2019 1:22 am

Re: python3 demo code stat.py "module digitalio not found"

by adafruit_support_carter on Wed Jun 10, 2020 4:59 pm

Odd. So the link is not taking you to the Blinka Test section from the Blinka setup guide? Should look like this:

blinka_test.jpg
blinka_test.jpg (58.41 KiB) Viewed 32 times

adafruit_support_carter
 
Posts: 15963
Joined: Tue Nov 29, 2016 2:45 pm

Re: python3 demo code stat.py "module digitalio not found"

by tommynar on Wed Jun 10, 2020 10:47 pm

Well, surprisingly it is now working (both the blinka test and the stat code) after this last reboot (I let it sleep last night).

Thanks for your prompt replies.

Tom

tommynar
 
Posts: 12
Joined: Sat Jan 19, 2019 1:22 am

Please be positive and constructive with your questions and comments.