[Django]-Python & Django on a Mac: Illegal hardware instruction

0👍

that kind of problem smells like architecture mess. You may try to execute a 64bit library from a 32bit interpreter or vice versa… As you’re using homebrew, you shall be really careful of which interpreter you’re using, what is your path etc… Maybe you shall trace your program to know more exactly where it fails, so you can pinpoint what is actually failing. It is very unlikely django that fails, but more something that django uses. For someone to help you, you need to dig more closely to your failing point, and give more context about what is failing beyond django.

👤zmo

0👍

I had the same, but went around this issue by using Docker/docker-compose.

Leave a comment