关于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

完事

发布了39 篇原创文章 · 获赞 38 · 访问量 12万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 精致技术 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览