Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6856

Having problems with Unicorn Paint (can't find paint.py?)

$
0
0

@lemon-curry wrote:

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:

sudo ./paint.py
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?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6856

Trending Articles