参考libstdc++.so.6: version `GLIBCXX_3.4.29' not found · pybind/pybind11 · Discussion #3453 (github.com)
My ERROR was/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.29' not found
In this case, I was able to solve the problem by copying the anaconda lib.
strings /home/xx/anaconda3/envs/xx/lib/libstdc++.so.6 | grep GLIBCXX
to confirm that GLIBCXX_3.4.29 exists in one of your environments.rm /lib/x86_64-linux-gnu/libstdc++.so.6
cp /home/xx/anaconda3/envs/xx/lib/libstdc++.so.6 /lib/x86_64-linux-gnu
除了复制有的类似问题也可以通过建立软连接方式:
ln -s 源文件 目标文件