问题遇到的现象和发生背景
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