ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9‘ not found的解决方法

导致该错误的原因:gcc动态库版本太老了

解决方法

1、编辑~/.bash_profile

vim ~/.bash_profile

2、将anaconda3/lib的路径加入库文件的路径

LD_LIBRARY_PATH=/your_path/anaconda3/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

3、重载~/.bash_profile

source  ~/.bash_profile

猜你喜欢

转载自blog.csdn.net/qq_38964360/article/details/134023480