啟動uwsgi出現!!! no internal routing support, rebuild with pcre support !!!


啟動uwsgi出現no internal routing support, rebuild with pcre support
使用如下命令,記錄下,方便后人
需要注意的是pip install uwsgi 要加上–no-cache-dir,pip 可以強制下載重新編譯安裝的庫,不然pip會直接從緩存中拿出了上次編譯后的 uwsgi 文件,並沒有重新編譯一份。

ubuntu環境下
pip uninstall uwsgi

sudo apt-get install libpcre3 libpcre3-dev

pip install uwsgi --no-cache-dir

centos環境下
pip uninstall uwsgi
yum install -y pcre pcre-devel pcre-static
pip install uwsgi --no-cache-dir

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM