django启动uwsgi出现no internal routing support, rebuild with pcre support

解决方法:需要注意的是pip install uwsgi 要加上–no-cache-dir,pip 可以强制下载重新编译安装的库,不然pip会直接从缓存中拿出了上次编译后的 uwsgi 文件,并没有重新编译一份。centos环境执行如此操作:

  • pip uninstall uwsgi
  • yum install -y pcre pcre-devel pcre-static
  • pip install uwsgi --no-cache-dir

此条目发表在学习笔记分类目录,贴了, , 标签。将固定链接加入收藏夹。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注