Home › Forums › Forums › Technical Support for BerryGPS and BerryGPS-IMU › No Module
Tagged: python
- This topic has 5 replies, 3 voices, and was last updated 6 months, 4 weeks ago by ben1098.
- AuthorPosts
- February 24, 2023 at 3:25 pm #17961ben1098Participant
I recently received my BerryGPS-IMU and works great out of the box. I recently downloaded the example python codes from the github and I am getting a module error. Is there something else I forgot to download? I tried on several of the files and they all yielded similar results
Thanks!
Attachments:
February 24, 2023 at 3:59 pm #17963Mark WilliamsKeymasterwhat version of Python are you using? you can find this out with
python -V
Mark --OzzMaker.com --
February 25, 2023 at 4:22 am #17964ben1098ParticipantI have version 3.9.2
February 25, 2023 at 5:49 pm #17966richardpParticipanttry
sudo apt-get install python3-smbus
Richard --OzzMaker.com --
February 26, 2023 at 3:56 am #17967ben1098ParticipantThat still yielded the same error message.
February 26, 2023 at 5:30 am #17972ben1098ParticipantActually, after re-flashing an SD with a ‘Raspberry Pi OS LITE (64-BIT)’ version and adding in the sudo apt-get install python3-smbus , and going into the raspi-config and under interface and selecting I2C and rebooting, the files run fine now.
Thank you for your help!
- AuthorPosts
- You must be logged in to reply to this topic.