'Trying to set up indy stack on Apple M1 chip machine and getting illegal hardware instruction error with Python

Using:

  • Python 3.7.13
  • Apple M1 Chip

I'm currently getting this error when I setting up indy stack with the identity app.

➜  identity.nerdwallet git:(master) ✗ make migrate
. build/venv/identity_macosx-*3.7/bin/activate; alembic upgrade head
/bin/sh: line 1: 24602 Illegal instruction: 4  alembic upgrade head
make: *** [migrate] Error 132
➜  identity.nerdwallet git:(master) ✗ . build/venv/identity_macosx-*3.7/bin/activate; alembic upgrade head
[1]    24620 illegal hardware instruction  alembic upgrade head

My python crashes subsequently after executing alembic upgrade head instruction.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source