python is killed when import tensorflow

Hi everyone,

I was using tensorflow on my m1 mac, but python crashed when i import tensorflow.

I test it in the command line, but it returns python is killed when import tensorflow. I have attached the Crash Report to gist. https://gist.github.com/ukujou/8484fa8c3264f36edae6fe3d3dd0b6b4.js

For now, I just disable SIG and it works, but i am worrying about the drawback. Do anyone have some idea on how to solve this?

Thanks!

Had exactly same issue.

Sry, I made a mistake, it's SIP instead of SIG i turned off.

It turns out that numpy version conflict with other packages on my side. You can only use the numpy apple release on github which may have optimization for m1 chip.

@limodd

python is killed when import tensorflow
 
 
Q