m1 macbook python3.8安装rpi_ws281x
pip install rpi_ws281x
lib/mailbox.c:40:10: fatal error: 'sys/sysmacros.h' file not found
#include <sys/sysmacros.h>
^
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
百度,更改环境版本
成功安装rpi_ws281x
可能没有对应的库,因为系统环境变化,而对应的库没有这个环境的。