ubuntu22.04 安装paddle2.5 之后(GPU, cuda12.0)必须要做的两件事情,否则import paddle 会出错 #56004
Farewell-CK
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1、缺少libssl.so.1.1 。这个问题网上好多给的是再安装一个opensll ,有一些杀鸡用牛刀。使用以下代码段安装
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
但是这个软件库再更新,我把链接放这里 http://security.ubuntu.com/ubuntu/pool/main/o/openssl/
2、报这个错ImportError: /home/cedric/anaconda3/envs/decdiff_env/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.30not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1)
使用命令检查是否有 : strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
若有按照报错的路径,添加软链接即可
cd @/home/cedric/anaconda3/envs/decdiff_env/bin/../lib/
mv libstdc++.so.6 libstdc++.so.6.old
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
@PaddlePM
Beta Was this translation helpful? Give feedback.
All reactions