PiCockpit on Raspberry Pi OS Bullseye

Raspberry Pi OS Bullseye has been released a couple of days back.

I’ve had a bug report from a user who says the PiCockpit installer fails on Bullseye.

The error which occurs is currently this:

ModuleNotFoundError: No module named 'picockpit_client'

30.11.2021 Note: the bugfix given below does NOT work, we’re working on another solution, see below.

I’ve released a hotpatch into the installer script ( https://picockpit.com/setup.sh ) which should hopefully take care of that.

If you want to run the installation manually, please run the following command first:

sudo ln -s /usr/bin/python3 /usr/bin/python3.7 

This will create a symlink for python3.7 to your actual python3 binary. As Python is downward compatible, this should be safe.

Please report any other problems back to me here in the comments, and I’ll look into it. Be sure to include the error output which you see on your console.

Update 15.11.2021:

We are working on a new picockpit-client release, and will test Raspberry Pi OS Bullseye compatibility (while retaining Buster compatibility) in it. It will also have a bugfix for BME688 IAQ being static at 25, and DigitalNose, an AI-enabled smell sensing app.

The new functionality has been implemented, but we are still preparing the package and ensuring compatibility with Bullseye at the time I write this. Hopefully we will have a release until the end of the month – in the meantime please continue to report any errors here.

Update 30.11.2021

We’re getting closer to a new release. Hopefully, we will be able to release it soon (probably by mid-December). We will keep you updated here.

2 Comments

  1. Dip on November 12, 2021 at 8:02 pm

    Get Module not Found Error

    The following NEW packages will be installed:
    picockpit-client
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/10.7 MB of archives.
    After this operation, 47.4 MB of additional disk space will be used.
    Selecting previously unselected package picockpit-client.
    (Reading database … 99751 files and directories currently installed.)
    Preparing to unpack …/picockpit-client_2.1.13_armhf.deb …
    Unpacking picockpit-client (2.1.13) …
    Setting up picockpit-client (2.1.13) …
    Successfully updated /usr/share/picockpit-client/bin/python3
    picockpit-client.service is a disabled or a static unit not running, not starting it.
    Traceback (most recent call last):
    File “/usr/bin/picockpit-client”, line 5, in
    from picockpit_client.picockpit_client import main
    ModuleNotFoundError: No module named ‘picockpit_client’

    • raspi berry on November 13, 2021 at 11:07 am

      Thank you for the feedback, we will investigate it!

Leave a Comment