Skip to content

opencc依赖有点问题 #14

@oatgnauh

Description

@oatgnauh

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的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions