# Sense-Hat with Raspberry PI has no connection

**URL:** https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110
**Category:** General
**Created:** [31 March 2023 09:47 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110 "2023-03-31T09:47:42Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![webtour](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@webtour](https://discourse.nodered.org/u/webtour)
#### Post date: [31 March 2023 09:47 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/1 "2023-03-31T09:47:42Z")

</div>

Hi,

I will use the node-red-node-pi-sense-hat (0.1.4) on a Raspberry Pi 3 with Busters,  
Node-RED v3.0.2 and  
Node.js v14.21.3.  
python -V  
python 2.7.16  
python3 -V  
python 3.7.3  
But I get the error "no connection".  
If found pe-requisites

```auto
sudo apt-get update
sudo apt-get install sense-hat
sudo pip-3.2 install pillow

```

But the last command sudo pip-3.2 install pillow does not work. (Command not found)

Is it possible to work with node-red-node-pi-sense-hat on this configuration?

Best regards  
Holger

---

<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: [31 March 2023 10:04 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/2 "2023-03-31T10:04:06Z")

</div>

Do you have `pip` installed?  
See [How to install pip on the Raspberry Pi - Pi My Life Up](https://pimylifeup.com/raspberry-pi-pip/)

---

<div class="post-metadata">

### Author: ![webtour](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@webtour](https://discourse.nodered.org/u/webtour)
#### Post date: [31 March 2023 10:24 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/3 "2023-03-31T10:24:32Z")

</div>

pip --version  
pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)

Is there also a pip-3.2 module/package?

---

<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: [31 March 2023 11:32 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/4 "2023-03-31T11:32:14Z")

</div>

Yes there is a pip3 and a python3 try

sudo apt install python3-pip

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [31 March 2023 12:01 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/5 "2023-03-31T12:01:09Z")

</div>

> [@zenofmud](#):
>
> es there is a pip3 and a python3 try
> 
> sudo apt install python3-pip

Yes but that's not what @webtour is trying to run.

I guess s/he is following the instructions from [https://flows.nodered.org/node/node-red-node-pi-sense-hat](https://flows.nodered.org/node/node-red-node-pi-sense-hat)

```auto
sudo apt-get update
sudo apt-get install sense-hat
sudo pip-3.2 install pillow

```

```auto
sudo pip-3.2 install pillow
sudo: pip-3.2: command not found

```

FWIW there is an issue on the AstroPi github site relating to this error. It says "manual pillow install was only necessary in Wheezy".  
The OP is using Buster, 2 versions ahead of Wheezy, but 1 behind the current: Bullseye.

It might be worth installing the latest RpiOS on a spare SD card and see if you can get the sense hat working with that.

---

<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: [31 March 2023 12:19 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/6 "2023-03-31T12:19:23Z")

</div>

Or they could install pip3 which is what the error says is missing. It would not take much time to try that first…

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [31 March 2023 12:33 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/7 "2023-03-31T12:33:32Z")

</div>

> [@zenofmud](#):
>
> what the error says is missing

On my Raspberry Pi (Bullseye) pip3 is installed yet pip-3.2 does not exist.

Maybe at some time there was a command **pip-3.2** or a link pip-3.2 -\> pip3 but not in Buster and not in Bullseye.

---

<div class="post-metadata">

### Author: ![webtour](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@webtour](https://discourse.nodered.org/u/webtour)
#### Post date: [31 March 2023 13:08 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/8 "2023-03-31T13:08:06Z")

</div>

I install a fresh Bullseye image on an second SD-card and install Node-red 3.0.2 with Node.js 16.19.1 and node-red-node-pi-sense-hat (0.1.4).

This works fine and connect the Sense-Hat.

But the Pre-requisites command "sudo pip-3.2 install pillow" does not work and may not missed any where.

Thanks to all!

Best Regards

---

<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: [31 March 2023 13:27 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/9 "2023-03-31T13:27:24Z")

</div>

> [@webtour](#):
>
> sudo pip-3.2 install pillow

Just got a chance to check and yup, you are right. It looks like the node instructions need an update with that line removed.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [14 April 2023 13:27 UTC](https://discourse.nodered.org/t/sense-hat-with-raspberry-pi-has-no-connection/77110/10 "2023-04-14T13:27:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
