So I'm trying to install the package here: https://github.com/Technologicat/pydgq/blob/master/README.md
git clone https://github.com/Technologicat/pydgq.git
cd pydgq
sudo python setup.py install
(opt) vogtster@Vogtsters-Mini pydgq % cd ..
(opt) vogtster@Vogtsters-Mini Finite Element % cd pydgq/test
(opt) vogtster@Vogtsters-Mini test % python lorenz_example.py
zsh: illegal hardware instruction python lorenz_example.py
(opt) vogtster@Vogtsters-Mini test % python
Python 3.7.13 (default, Mar 28 2022, 07:24:34)
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydgq
zsh: illegal hardware instruction python
Looking around I found a thread here which this issue was happening for tensorflow: "zsh: illegal hardware instruction python" when installing Tensorflow on macbook pro M1
The only difference is I have a mac-mini with a M1 chip, which makes me believe this is the issue. However, I could not figure out how to resolve this issue to make the code run.
I suspect somehow I have to run some of these commands with some special flag to make everything work. Any suggestions would be greatly appreciated!
Perhaps this thread can become a "1 catch all question" of how to resolve this issue in general.
Thank you