Hello, thanks for your help.
I just ran the two suggested commands and pasted their output below. The only line which looked suspicious to me was this:
pi@raspberrypi:~ $ curl https://get.pimoroni.com/unicornhat | bash
bash: line 274: dt_check: command not found
The rest seems okay, however I cannot judge whether the dependencies are met.
pi@raspberrypi:~ $ pip list
argparse (1.2.1)
chardet (2.3.0)
colorama (0.3.2)
Flask (0.10.1)
gpiozero (1.2.0)
html5lib (0.999)
itsdangerous (0.24)
Jinja2 (2.8)
lxkeymap (0.1)
MarkupSafe (0.23)
mcpi (0.1.1)
ndg-httpsclient (0.3.2)
numpy (1.8.2)
picamera (1.10)
pifacecommon (4.2.1)
pifacedigitalio (3.1.0)
Pillow (2.6.1)
pip (1.5.6)
pyasn1 (0.1.7)
pygame (1.9.2a0)
pygobject (3.14.0)
pyOpenSSL (0.13.1)
pyserial (2.6)
requests (2.4.3)
rpi-ws281x (2.0.0)
RPi.GPIO (0.6.2)
RTIMULib (7.2.1)
sense-hat (2.1.0)
setuptools (5.5.1)
six (1.8.0)
spidev (3.0)
unicornhat (2.1.0)
urllib3 (1.9.1)
Werkzeug (0.11.9)
wheel (0.24.0)
wsgiref (0.1.2)
pi@raspberrypi:~ $ curl -sS get.pimoroni.com/unicornhat | bash
bash: line 274: dt_check: command not found
This script will install everything needed to use
Unicorn HAT
— Warning —
Always be careful when running scripts and commands
copied from the internet. Ensure they are from a
trusted source.
If you want to see what this script does before
running it, you should run:
\curl -sS get.pimoroni.com/unicornhat
Do you wish to continue? [y/N] y
Checking hardware requirements…
Done!
Checking install requirements…
Done!
Checking for Python 2 library…
Found!
Python 2 module found. Reinstall/Update? [y/N] y
Downloading/unpacking unicornhat
Downloading unicornhat-2.1.0.tar.gz
Running setup.py (path:/tmp/pip-build-YB8bMC/unicornhat/setup.py) egg_info for package unicornhat
Downloading/unpacking rpi-ws281x>=2.0.0 (from unicornhat)
Downloading rpi_ws281x-2.0.1.tar.gz (97kB): 97kB downloaded
Running setup.py (path:/tmp/pip-build-YB8bMC/rpi-ws281x/setup.py) egg_info for package rpi-ws281x
Installing collected packages: unicornhat, rpi-ws281x
Running setup.py install for unicornhat
Running setup.py install for rpi-ws281x
Compiling ws281x library…
building ‘_rpi_ws281x’ extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Ilib/ -I/usr/include/python2.7 -c rpi_ws281x_wrap.c -o build/temp.linux-armv7l-2.7/rpi_ws281x_wrap.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/rpi_ws281x_wrap.o -Llib/ -lws2811 -o build/lib.linux-armv7l-2.7/_rpi_ws281x.so
Successfully installed unicornhat rpi-ws281x
Cleaning up…
Done!
Checking for Python 3 library…
Found!
Python 3 module found. Reinstall/Update? [y/N] y
Downloading/unpacking unicornhat
Downloading unicornhat-2.1.0.tar.gz
Running setup.py (path:/tmp/pip-build-iwtm_qmg/unicornhat/setup.py) egg_info for package unicornhat
Downloading/unpacking rpi-ws281x>=2.0.0 (from unicornhat)
Downloading rpi_ws281x-2.0.1.tar.gz (97kB): 97kB downloaded
Running setup.py (path:/tmp/pip-build-iwtm_qmg/rpi-ws281x/setup.py) egg_info for package rpi-ws281x
Installing collected packages: unicornhat, rpi-ws281x
Running setup.py install for unicornhat
Running setup.py install for rpi-ws281x
Compiling ws281x library…
building ‘_rpi_ws281x’ extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ilib/ -I/usr/include/python3.4m -c rpi_ws281x_wrap.c -o build/temp.linux-armv7l-3.4/rpi_ws281x_wrap.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/rpi_ws281x_wrap.o -Llib/ -lws2811 -o build/lib.linux-armv7l-3.4/_rpi_ws281x.cpython-34m.so
Successfully installed unicornhat rpi-ws281x
Cleaning up…
Examples already exist, shall I replace them? [y/N] y
Updating Unicorn HAT examples…
Cloning into ‘unicorn-hat’…
remote: Counting objects: 131, done.
remote: Compressing objects: 100% (116/116), done.
remote: Total 131 (delta 20), reused 63 (delta 10), pack-reused 0
Receiving objects: 100% (131/131), 327.24 KiB | 0 bytes/s, done.
Resolving deltas: 100% (20/20), done.
Checking connectivity… done.
I backed up the examples to unicornhat-backup, just in case you’ve changed anything!
Examples copied to /home/pi/Pimoroni/unicornhat/
Checking for additional software…
Done!
Finalising Install…
Reading package lists… Done
Building dependency tree
Reading state information… Done
All done!
Enjoy your new Unicorn HAT!