Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'neopixel' #291

Closed
JulioBBL opened this issue Apr 23, 2018 · 1 comment
Closed

No module named 'neopixel' #291

JulioBBL opened this issue Apr 23, 2018 · 1 comment

Comments

@JulioBBL
Copy link

i tried installing the library through pip, it installed without errors, when i tried installing through the methods described in the readme, the last command that succeds is the scons one, when i try to python3 ./setup.py build even with sudo i get an error:

Extracting in /tmp/tmp_1kIJQ
Traceback (most recent call last):
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

@Gadgetoid
Copy link
Collaborator

Looks like this is a duplicate of #290

I'm not sure what the issue at hand is, but I recommend simply installing rpi_ws281x with pip if Python support is your objective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants