# WS2812 Addressable LEDs: Raspberry Pi Quickstart Guide issue

**URL:** <https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813>\
**Category:** Uncategorized\
**Created:** [31 May 2018 19:18 UTC](https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813 "2018-05-31T19:18:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wilbur64083](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@Wilbur64083](https://forum.core-electronics.com.au/u/Wilbur64083)\
**Post date:** [31 May 2018 19:18 UTC](https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813/1 "2018-05-31T19:18:48Z")

</div>

Hello,

I followed the step by step guide for the WS2812b on the raspberry pi 3. When I do the first step.

curl -L [http://coreelec.io/33](http://coreelec.io/33) | bash

It seems to install fine until it reaches the end and I get this error.

File “setup.py”, line 4, in   
use\_setuptools()  
File “/home/pi/rpi\_ws281x/python/ez\_setup.py”, line 161, in use\_setuptools  
return \_do\_download(version, download\_base, to\_dir, download\_delay)  
File “/home/pi/rpi\_ws281x/python/ez\_setup.py”, line 120, in \_do\_download  
\_build\_egg(egg, archive, to\_dir)  
File “/home/pi/rpi\_ws281x/python/ez\_setup.py”, line 62, in \_build\_egg  
with archive\_context(archive\_filename):  
File “/usr/lib/python2.7/contextlib.py”, line 17, in **enter**  
return self.gen.next()  
File “/home/pi/rpi\_ws281x/python/ez\_setup.py”, line 100, in archive\_context  
with ContextualZipFile(filename) as archive:  
File “/home/pi/rpi\_ws281x/python/ez\_setup.py”, line 88, in **new**  
return zipfile.ZipFile(\*args, \*\*kwargs)  
File “/usr/lib/python2.7/zipfile.py”, line 770, in **init**  
self.\_RealGetContents()  
File “/usr/lib/python2.7/zipfile.py”, line 811, in \_RealGetContents  
raise BadZipfile, “File is not a zip file”  
zipfile.BadZipfile: File is not a zip file

None of the steps after this will work. Any Help would be great! Thanks.

---

<div class="post-metadata">

**Author:** ![Aidan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/aidan/32/1243_2.png) [@Aidan](https://forum.core-electronics.com.au/u/Aidan)\
**Post date:** [1 June 2018 04:03 UTC](https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813/2 "2018-06-01T04:03:21Z")

</div>

Hey Wilbur  
Thanks for the post, I’m not too sure which the best way forward would be on this. I’m sure the tech team can help out. I’d bet @Josh or @Chris

---

<div class="post-metadata">

**Author:** ![Wilbur64083](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@Wilbur64083](https://forum.core-electronics.com.au/u/Wilbur64083)\
**Post date:** [1 June 2018 13:52 UTC](https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813/3 "2018-06-01T13:52:12Z")

</div>

Thanks Aidan. Any help would be appreciated. I don’t want to pull out anymore of my hair trying to figure out, what seems to be, a pretty straight forward setup.

---

<div class="post-metadata">

**Author:** ![Josh](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/josh/32/1244_2.png) [@Josh](https://forum.core-electronics.com.au/u/Josh)\
**Post date:** [4 June 2018 02:52 UTC](https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813/4 "2018-06-04T02:52:24Z")

</div>

Hi Wilbur,

I just ran this on my Pi and had no issues, so I’ll try and look into what could cause it for you. Can you put up the full output of that command?

---

<div class="post-metadata">

**Author:** ![Wilbur64083](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@Wilbur64083](https://forum.core-electronics.com.au/u/Wilbur64083)\
**Post date:** [12 June 2018 17:58 UTC](https://forum.core-electronics.com.au/t/ws2812-addressable-leds-raspberry-pi-quickstart-guide-issue/2813/5 "2018-06-12T17:58:42Z")

</div>

Hi Josh,

I just formatted my sd card and reinstalled everything and now it magically works. I’m sure it wasn’t a technical issue, but rather a lack of pixie dust. 😉 Thanks for looking into it for me.

Wil,
