Closed WegnerDan closed 1 year ago
Please try rebuilding with line 41 in setup.py commented out. The module that failed to build is only used for non-Raspberry Pi platforms, and if everything works properly without it, report the installation issue at the pyfastnoisesimd
repository.
Build seems to be successful with line 41 commented out, but it does not run.
thedoginthewok@led-raspi:~/led-control $ sudo ledcontrol --led_count 10 --led_pixel_order GRBW
Traceback (most recent call last):
File "/usr/local/bin/ledcontrol", line 33, in <module>
sys.exit(load_entry_point('led-control', 'console_scripts', 'ledcontrol')())
File "/usr/local/bin/ledcontrol", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/home/thedoginthewok/led-control/ledcontrol/__init__.py", line 5, in <module>
from ledcontrol.app import create_app
File "/home/thedoginthewok/led-control/ledcontrol/app.py", line 11, in <module>
from ledcontrol.animationcontroller import AnimationController
File "/home/thedoginthewok/led-control/ledcontrol/animationcontroller.py", line 14, in <module>
import ledcontrol.animationfunctions as animfunctions
File "/home/thedoginthewok/led-control/ledcontrol/animationfunctions.py", line 7, in <module>
import ledcontrol.driver as driver
File "/home/thedoginthewok/led-control/ledcontrol/driver/__init__.py", line 17, in <module>
from . driver_non_raspberry_pi import *
File "/home/thedoginthewok/led-control/ledcontrol/driver/driver_non_raspberry_pi.py", line 5, in <module>
import pyfastnoisesimd as fns
ModuleNotFoundError: No module named 'pyfastnoisesimd'
What does the output of the command cat /sys/firmware/devicetree/base/model
say?
It looks a little weird, this is the exact output:
thedoginthewok@led-raspi:~ $ cat /sys/firmware/devicetree/base/model
Raspberry Pi Zero W Rev 1.1thedoginthewok@led-raspi:~ $
I've also attached the file (unchanged, only added .txt to the filename so github accepts it) model.txt
Notepad++ seems to interpret the last byte of the file as NUL:
Try pulling the latest commit from Github and rebuilding, this should be fixed now.
I've tried following the steps under "Software Setup (Raspberry Pi)" on https://jackw01.github.io/led-control/
I have a raspberry pi zero w with most current raspberrypi os lite 32 bit image.
I get a lot of errors on step
sudo python3 setup.py develop
command output.txt