关于uwsgi部署出现uwsgi: error while loading shared libraries

安装无非就是pip install uwsgi

uwsgi: error while loading shared libraries: libicui18n.so.58: cannot open shared object file: No such file or directory
uwsgi: error while loading shared libraries: libicuuc.so.58: cannot open shared object file: No such file or directory
uwsgi: /lib64/./libstdc++.so.6: version CXXABI_1.3.8' not found (required by /lib64/libicui18n.so.58) uwsgi: /lib64/./libstdc++.so.6: versionCXXABI_1.3.9’ not found (required by /lib64/libicui18n.so.58)
uwsgi: /lib64/./libstdc++.so.6: version CXXABI_1.3.8' not found (required by /lib64/libicuuc.so.58) uwsgi: /lib64/./libstdc++.so.6: versionCXXABI_1.3.9’ not found (required by /lib64/libicuuc.so.58)
等错误

最简单的处理方式:
vi ~/.bash_profile

**# .bash_profile

LD_LIBRARY_PATH=/root/anaconda3/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH


# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH**

加入anaconda3的lib到全局路径

source  ~/.bash_profile

完事

你可能感兴趣的:(python3.6)