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

完事

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值