# Problems with Sensehat on Pi4 with Bookworm (Python3) and NR 4.0.3

**URL:** <https://discourse.nodered.org/t/problems-with-sensehat-on-pi4-with-bookworm-python3-and-nr-4-0-3/92220>\
**Category:** General\
**Created:** [7 October 2024 16:15 UTC](https://discourse.nodered.org/t/problems-with-sensehat-on-pi4-with-bookworm-python3-and-nr-4-0-3/92220 "2024-10-07T16:15:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [7 October 2024 18:19 UTC](https://discourse.nodered.org/t/problems-with-sensehat-on-pi4-with-bookworm-python3-and-nr-4-0-3/92220/2 "2024-10-07T18:19:01Z")

</div>

There were issues when the Pi's OS upgraded python from 2 to 3 back in 2021. Check out these threads:

> [@SenseHat environment / motion problem](https://discourse.nodered.org/t/sensehat-environment-motion-problem/46851):
>
> Hello to all, for a project I got the task to display the temperature and compass value from a Sense Hat in a dashboard. Now I have the problem, if I activate both hooks at environment and motion in the node of the SenseHat, I get only the values of the Compass displayed and no more temperature values. What can I do differently, if I want to read both range or do I have to make a correction in a configuration file? (I have also already slowed down the transmission of the messages with a delay …

> [@Raspberry sense hat problem](https://discourse.nodered.org/t/raspberry-sense-hat-problem/57918):
>
> Trying to get my sense hat working after a crash of my pi. created a new image ( basic ) and installed node red. using nr version 2.2.0 every time i get the message [node-red-node-pi-sense-hat/sensehat] Error: Can't find Sense HAT python libraries. Run sudo apt-get install sense-hat on install of sudo pip-3.2 install pillow i get sudo: pip-3.2: command not found maybe this is the problem? i cannot find in google how to solve that thanks!

---

_[View the full topic](https://discourse.nodered.org/t/problems-with-sensehat-on-pi4-with-bookworm-python3-and-nr-4-0-3/92220)._
