Install tensorflow via anaconda

After I installed the tf through terminal (anaconda), when import tensorflow, it shows 'Fatal Python error: Illegal instruction' then restarting kernal.

Does anyone know how to install tensorflow? I know we could install through conda forge. but there will be other package like spyder is not compatible with m1 chip.

You could try following Apple’s instructions for installing TensorFlow with Metal-powered GPU acceleration, even if you don’t need that acceleration.

Install tensorflow via anaconda
 
 
Q