I’ve just today set up my Unicorn pHAT and muddled my way through the Getting Started with unicorn pHAT tutorial just fine so had a quick snoop and figured I’d give the Getting started with Unicorn Paint tutorial a go but have had problems getting past the Start Unicorn Paint step:
"Before starting Unicorn Paint, you should make sure the dependencies are installed. Unicorn Paint requires the Python web framework Flask. To get it installed, just:
sudo pip install flask
Locate the code you downloaded earlier and make your way to the Unicorn Paint example folder. Then just type:
And Unicorn Paint should fire up on your Pi. Note: you won’t see any graphical interface yet, we need to connect with a web browser from another computer, or your Pi, to get things working."
I installed Flask without any trouble but when I navigate to /home/pi/Pimoroni/unicornhat there’s nothing there. As I understand it (probably incorrectly), there should be a unicornpaint folder in here containing paint.py somewhere but there’s just nothing. When I try to run “git clone https://github.com/pimoroni/unicornhat” in an attempt to download the example code I get :
pi@raspberrypi:~ git clone https://github.com/pimoroni/unicornhat Cloning into 'unicornhat'... fatal: Out of memory, malloc failed (tried to allocate 1048576000 bytes) pi@raspberrypi:~ fatal: Not a git repository: ‘/home/pi/unicornhat/.git’
Now, I am totally new to all of this so I’m assuming the problem here is most likely me doing something very simple, very wrong so what do I do?