First of all here is my mac info:
macOS Big Sur
Apple M1 Chip
16 GB memory
Python 3.7.9
I tried to run a python application in my computer. After I input flask run
, the terminal returns
* Serving Flask app "demo" (lazy loading)
* Environment: development
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with fsevents reloader
* Debugger is active!
* Debugger PIN: 260-335-544
I0806 10:14:55.217031 12914655232 file_utils.py:40] PyTorch version 1.6.0 available.
I0806 10:14:55.217122 13005393920 file_utils.py:40] PyTorch version 1.6.0 available.
zsh: illegal hardware instruction flask run
Does anyone know what that mean and how to solve it? (Pretty sure there is no bug in the code. And I installed all the required packages)