Woooh! BrickPi just got an update!

The BrickPi library is now a pip package, and supports both Trixie and the Pi5.
Although Pi5 support comes with limitations due to the new and higher power requirements.

More info here:

Some of the most advanced projects have been removed, not because they can’t work but because I don’t have the LEGO parts to fully test them.

A BrickPi specific image will come soon (I’m working on it right now).

2 Likes

Things to know:

The BrickPi install script is greatly simplified. And it no longer depends on the pi user.

To install the updated package, the best approach is

git clone https://github.com/DexterInd/BrickPi3.git
cd BrickPi3/Software/Python/brickpi3/scripts
source install_trixie.sh user

the install_trixie.sh script has a couple parameters. The first one is either use (which is also the default) or local.

source install_trixie.sh user will create a virtual environment in $HOME/.venv/brickpi
To activate it, you need to run
source ~/.venv/brickpi/bin/activate

source install_trixie.sh local will create a virtual environment in the current working directory
To activate it, you need to run
source ./brickpi/bin/activate

if you prefer to install on Trixie lite, then
source install_trixie.sh user hardware=only will not install the GUI libraries needed for the one little troubleshooting tool.

2 Likes

If you don’t want to deal with installation, there’s a ready for you image that you can download
https://dexteros.s3.us-west-1.amazonaws.com/BrickPi+Trixie/brickpi3_4.0.9_trixie_2026-02.zip
Username is brickpi, password is robots1234 like before.
The virtual environment is at the user level, and gets triggered automatically for you when you open a session.

1 Like

https://pypi.org/project/brickpi3/

Whoo-hoo!

Glad to see it getting some love!