WS2812 Addressable LEDs: Raspberry Pi Quickstart Guide issue


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

curl -L | bash

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

File “”, line 4, in
File “/home/pi/rpi_ws281x/python/”, line 161, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File “/home/pi/rpi_ws281x/python/”, line 120, in _do_download
_build_egg(egg, archive, to_dir)
File “/home/pi/rpi_ws281x/python/”, line 62, in _build_egg
with archive_context(archive_filename):
File “/usr/lib/python2.7/”, line 17, in enter
File “/home/pi/rpi_ws281x/python/”, line 100, in archive_context
with ContextualZipFile(filename) as archive:
File “/home/pi/rpi_ws281x/python/”, line 88, in new
return zipfile.ZipFile(*args, **kwargs)
File “/usr/lib/python2.7/”, line 770, in init
File “/usr/lib/python2.7/”, 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.

1 Like

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

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.

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?

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. :wink: Thanks for looking into it for me.