问题背景描述:
在做图片验证码识别安装 tensorflow 启动程序报错:
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found
(required by anaconda3/lib/python3.6/site-packages/scipy/sparse/_sparsetools.cpython-36m-x86_64-linux-gnu.so)
解决方案:
不需要Root权限
vi ~/.bash_profile
在文件中添加如下代码
LD_LIBRARY_PATH=/home/feng/anaconda3/lib:$LD_LIBRARY_PATH (将anaconda3库文件路径添加到系统的库文件路径中)
export LD_LIBRARY_PATH
$ source ~/.bash_profile
参考链接:https://blog.csdn.net/zhuiqiuzhuoyue583/article/details/80150207