Skip to content

天数 BI-150S 环境中需要降级 opencc-python-reimplemented 版本 #4166

@megemini

Description

@megemini

Others

在 aistudio 的天数 BI-150S 环境中安装 paddlespeech 并使用以下代码:

from paddlespeech.cli.tts.infer import TTSExecutor
tts = TTSExecutor()
tts(text="今天天气十分不错。", output="output.wav")

提示错误:

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/aistudio/external-libraries/lib/python3.10/site-packages/opencc/clib/opencc_clib.cpython-310-x86_64-linux-gnu.so)

将 opencc-python-reimplemented 降级后(原版本为 0.1.7)可正常使用:

pip uninstall opencc-python-reimplemented -y
pip install opencc-python-reimplemented==0.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions