Necessary Packages
Your Pi will need to be running the latest version of Raspberry Pi OS. Checkout our guide for Preparing an SD Card for your Raspberry Pi if you have not done so already. After the installation is complete be sure and run the following commands to make sure your installation packages are up to date.
$ sudo apt-get update -y $ sudo apt-get upgrade -y
pip3 is already installed with a full Raspbian installation, but the Raspbian Lite does not include pip3 so it needs to be installed as shown below. We will use pip3 to install the necessary CircuitPython libraries.
$ sudo apt-get install python3-pip
Install adafruit-blinka
Raspberry Pi OS Bookworm and later require pip packages to be installed in a Python virtual environment. Create and activate one first, as shown in the Setup Virtual Environment section of the Blinka guide.
$ sudo apt install python3-venv $ python3 -m venv env --system-site-packages $ source env/bin/activate $ pip3 install adafruit-blinka
$ pip3 install adafruit-circuitpython-mcp3xxx
Page last edited October 22, 2026