【import报错】ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29‘ not found

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/gaohengxin/anaconda3/envs/qianyan-torch/lib/python3.9/site-packages/pandas/_libs/window/aggregations.cpython-39-x86_64-linux-gnu.so)

解决方法:
1、安装相应版本libstdc
2、更换报错的import包的代码位置(例如报错显示是import pandas有问题,将该行代码放第一行试试)

你可能感兴趣的:(错误异常处理,linux,python,运维)