Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencc依赖有点问题 #14

Open
oatgnauh opened this issue Sep 26, 2024 · 0 comments
Open

opencc依赖有点问题 #14

oatgnauh opened this issue Sep 26, 2024 · 0 comments

Comments

@oatgnauh
Copy link

Traceback (most recent call last):
File "/home/compiler/.local/lib/python3.9/site-packages/opencc/init.py", line 7, in
import opencc_clib
ModuleNotFoundError: No module named 'opencc_clib'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/mnt/harddisk/PiPiName/main.py", line 4, in
from name_set import check_resource, get_source
File "/mnt/harddisk/PiPiName/name_set.py", line 4, in
import opencc
File "/home/compiler/.local/lib/python3.9/site-packages/opencc/init.py", line 9, in
from opencc.clib import opencc_clib
ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/compiler/.local/lib/python3.9/site-packages/opencc/clib/opencc_clib.cpython-39-x86_64-linux-gnu.so)

pip install opencc 执行了是OK的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant