raspberrypi / rpi-sense

Sense HAT firmware and driver
67 stars 22 forks source link

Unable to install sense-hat with Bullseye OS #12

Closed Mudary closed 2 years ago

Mudary commented 2 years ago

Just wondering if there will be any support to use my sense-hat with Bullseye OS or is it limited to Bionic and below.

pelwell commented 2 years ago

Your issue title reads like a bug report, but there is no detail of what you have done and what the outcome was. Have another go.

Mudary commented 2 years ago

Topic should read 'Install sense-hat workaround for Bullseye OS' or something similar. Thank you Pelwell, I used this workaround, since sense-hat is not on the Bullseye repo. (sudo) was added since I was not logged on as root.

https://forums.raspberrypi.com/viewtopic.php?t=280081 Re: Can't Install SenseHat Support Software on Ubuntu

Thu Nov 12, 2020 1:34 pm Hey, as far as RTIMU is concerned, download this file first and extract to your home directory.

Once extracted, in terminal type:

Code: Select all

cd RTIMULib-master/Linux/python/ (sudo) python3 setup.py build (sudo)python3 setup.py install

You may need to do the following if it is not installed already:

Code: Select all

sudo apt-get install python3-dev

You will also need to add your user to the input group:

Code: Select all

sudo addgroup USER_NAME input

You will now be able to access the sense hat using python.

Hope this helps

Allen

pelwell commented 2 years ago

As that thread says, if you have a problem with an Ubuntu OS you should report it to Canonical. Our Bullseye RPiOS should work fine with the Sense HAT.

mistotebe commented 2 years ago

As that thread says, if you have a problem with an Ubuntu OS you should report it to Canonical. Our Bullseye RPiOS should work fine with the Sense HAT.

I am using (well, upgrading to) Raspbian: deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi and contrary to what you just said, python3-sense-hat has been removed from the distro.

popcornmix commented 2 years ago
$ sudo apt policy python3-sense-hat
python3-sense-hat:
  Installed: 2.2.0-2
  Candidate: 2.2.0-2
  Version table:
 *** 2.2.0-2 500
        500 http://archive.raspberrypi.org/debian bullseye/main armhf Packages
        100 /var/lib/dpkg/status

It's in the raspberrypi repo, not raspbian. In RPiOS that is included from /etc/apt/sources.list.d/raspi.list