ServoHat Driver

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
ilanfelberg
 
Posts: 2
Joined: Wed Oct 13, 2021 2:27 pm

ServoHat Driver

Post by ilanfelberg »

Hi,

I am using the adafruit servokit library to drive servo motors from python3,

I am running into a problem where I am getting this error:
" ModuleNotFoundError: No module named 'board' "

I have installed the blinka library, but that has not seemed to help

if I install the board library (sudo pip3 install board), then the error I get is
" AttributeError: module 'board' has no attribute 'I2C' "

What other troubleshooting options could I try to fix this problem?

User avatar
adafruit_support_carter
 
Posts: 29177
Joined: Tue Nov 29, 2016 2:45 pm

Re: ServoHat Driver

Post by adafruit_support_carter »

if I install the board library (sudo pip3 install board), then the error I get is
This is not the fix. That is a totally unrelated Python package. See here:
https://learn.adafruit.com/circuitpytho ... aq-3055911

Use the test here to make sure the Blinka install is OK:
https://learn.adafruit.com/circuitpytho ... 3030038-17

User avatar
ilanfelberg
 
Posts: 2
Joined: Wed Oct 13, 2021 2:27 pm

Re: ServoHat Driver

Post by ilanfelberg »

Thank you!
I tried the force reinstall of Blinka as suggested, and I was able to work through the problem from there!

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”