启动uwsgi时出现警告:
!!! no internal routing support, rebuild with pcre support !!!
网上说是需要先安装pcre,我这里的情况稍有不同,我安装pcre时不是使用root安装的,所以pip安装uwsgi时肯定没找到我安装的pcre,所以想问问如何指定我自己安装的pcre路径安装uwsgi?
学习是最好的投资!
First you need to add bin in the pcre installation directory to the PATH environment variable
export PATH=/home/sae/tools/pcre-8.39/bin:$PATH
Then add the lib of the pcre installation directory to the LD_LIBRARY_PATH environment variable
export LD_LIBRARY_PATH=/home/sae/tools/pcre-8.39/lib:$LD_LIBRARY_PATH
Reference: Here, the premise is that you have installed pcre and added the bin directory to the PATH path, that is, you can run pcre-config --version successfully
First you need to add bin in the pcre installation directory to the PATH environment variable
Then add the lib of the pcre installation directory to the LD_LIBRARY_PATH environment variable
Reference: Here, the premise is that you have installed pcre and added the bin directory to the PATH path, that is, you can run pcre-config --version successfully