CircuitPython libraries not installing on pi 4

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
ThunderChipmunk
 
Posts: 2
Joined: Wed Jul 21, 2021 5:12 pm

CircuitPython libraries not installing on pi 4

Post by ThunderChipmunk »

Hi,
I am trying to get a Adafruit PiOLED - 128x32 Monochrome OLED to run on a pi4. According to this, you need the CircuitPython Libraries installed. https://www.mouser.ca/datasheet/2/737/a ... 396538.pdf

Following through this to get the library: https://learn.adafruit.com/circuitpytho ... spberry-pi

However, I get a error when I enter:

Code: Select all

sudo python3 raspi-blinka.py
Full error

Code: Select all

This script configures your
Raspberry Pi and installs Blinka

RASPBERRY_PI_4B detected.

Blinka WARNING Default System python version is 2.7.16. It will be updated to Version 3.
Continue? [y/n] y
Updating System Packages
Blinka E: Failed to fetch https://ookla.bintray.com/debian/dists/generic/InRelease  403  Forbidden [IP: 54.69.109.244 443]
E: The repository 'https://ookla.bintray.com/debian generic InRelease' is no longer signed.

Blinka Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Blinka Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Blinka Err:3 https://ookla.bintray.com/debian generic InRelease
Blinka 403  Forbidden [IP: 54.69.109.244 443]
Blinka Reading package lists...
Blinka Exiting due to error: Apt failed to update indexes!
 

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: CircuitPython libraries not installing on pi 4

Post by mikeysklar »

Is your Pi4 up to date?

Code: Select all

sudo apt update
sudo apt full-upgrade
You can also try installing directly through pip.

Code: Select all

pip3 install adafruit-blinka

User avatar
ThunderChipmunk
 
Posts: 2
Joined: Wed Jul 21, 2021 5:12 pm

Re: CircuitPython libraries not installing on pi 4

Post by ThunderChipmunk »

Thanks!
Your download command worked, but I also realized that I needed to enable I2c in preferences.

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”