I solved it, the reason is that gcc cannot be found. I uninstalled the uwsgi installed by brew and used pip install uwsgi to find out. When installing, it prompted 'Exception: you need a C compiler to build uWSGI'. Find it on Stack Overflow. Check it out, there is a precedent, use 'sudo CC=gcc pip install uwsgi', and then the problem is solved.
I solved it, the reason is that gcc cannot be found. I uninstalled the uwsgi installed by brew and used pip install uwsgi to find out. When installing, it prompted 'Exception: you need a C compiler to build uWSGI'. Find it on Stack Overflow. Check it out, there is a precedent, use 'sudo CC=gcc pip install uwsgi', and then the problem is solved.