Mac中出现zsh: illegal hardware instruction python

今天在各位的指导下安装了tensorflow和keras,可在运行时显示zsh: illegal hardware instruction python非法硬件错误,是不是因为是m1的原因啊(arm),有什么办法可以解决吗大家……

img