报错如下:
ImportError: /home/wjx/anaconda3/lib/python3.6/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/wjx/anaconda3/lib/python3.6/site-packages/pyltp-0.3.0-py3.6-linux-x86_64.egg/pyltp.cpython-36m-x86_64-linux-gnu.so)
找不到libstdc++.so.6文件,路径不完整,咋办。
出错场景
from pyltp import Segmentor, Postagger, Parser, NamedEntityRecognizer
在提问之前,请确认以下几点:
问题类型
报错如下: ImportError: /home/wjx/anaconda3/lib/python3.6/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/wjx/anaconda3/lib/python3.6/site-packages/pyltp-0.3.0-py3.6-linux-x86_64.egg/pyltp.cpython-36m-x86_64-linux-gnu.so)
找不到libstdc++.so.6文件,路径不完整,咋办。
出错场景
from pyltp import Segmentor, Postagger, Parser, NamedEntityRecognizer
代码run时不会报错,debug时出现error
代码片段
如何复现这一错误
运行环境
ubuntu 20.4 anaconda 5.2.0 python3.6 gcc 9.0 pyltp 0.3.0
期望结果
其他
Please ensure your issue adheres to the following guidelines:
What is affected by this bug?
When does this occur?
Where on the code does it happen?
How do we replicate the issue?
Your environment information
Expected behavior (i.e. solution)
Other Comments