danielegrattarola / spektral

Graph Neural Networks with Keras and Tensorflow 2.
https://graphneural.network
MIT License
2.37k stars 335 forks source link

zsh: illegal hardware instruction python #385

Open kiristern opened 2 years ago

kiristern commented 2 years ago

I am unable to import spektral package at the beginning of my script. Simply returns zsh: illegal hardware instruction python.

I have a MacAir with M1 and running in a conda env with python 3.9.12.

I have also tried installing in a Miniforge3-MacOSX-arm64 env and still have the same error.

Thanks for your help.

danielegrattarola commented 2 years ago

This looks like a Tensorflow issue? One possible solution: https://stackoverflow.com/questions/65383338/zsh-illegal-hardware-instruction-python-when-installing-tensorflow-on-macbook