- 找到uwsgi的位置
which uwsgi
(WebTagging) [root@Alex backend-flask]# which uwsgi
/usr/anaconda/Anaconda/envs/WebTagging/bin/uwsgi
- ldd查看缺少的包
ldd /usr/anaconda/Anaconda/envs/WebTagging/bin/uwsgi
发现 uwsgi 找不到三个包
- 建立软连接
ln -s /usr/anaconda/Anaconda/lib/libicui18n.so.58 /lib64/libicui18n.so.58
ln -s /usr/anaconda/Anaconda/lib/libicuuc.so.58 /lib64/libicuuc.so.58
ln -s /usr/anaconda/Anaconda/lib/libicudata.so.58 /lib64/libicudata.so.58
- 复制libstdc++.so.6
cp /usr/anaconda/Anaconda/lib/libstdc++.so.6 /lib64/
- complete
ldd /usr/anaconda/Anaconda/envs/WebTagging/bin/uwsgi