No Module

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17961
    ben1098
    Participant

    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!

    #17963
    Mark Williams
    Keymaster

    what version of Python are you using?  you can find this out with python -V

    Mark --OzzMaker.com --

    #17964
    ben1098
    Participant

    I have version 3.9.2

    #17966
    richardp
    Participant

    try
    sudo apt-get install python3-smbus

    Richard --OzzMaker.com --

    #17967
    ben1098
    Participant
    #17972
    ben1098
    Participant

    Actually, 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!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop…