解决方法:需要注意的是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
解决方法:需要注意的是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