python - !!! no internal routing support, rebuild with pcre support !!!
黄舟
黄舟 2017-04-17 14:26:17
0
1
6800

在Mac下,使用nginx+uwsgi部署django,感觉要成功了,就遇到这个‘!!! no internal routing support, rebuild with pcre support !!!’,上Stack Overflow上搜到答案了,但是那是Ubuntu上的,如下:

我在终端输入apt-get时,提示没有该指令,原谅我对Mac不熟。。
这个问题弄好久了,就是不知道怎么破,求助各位了。

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
迷茫

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template