Skip to content

导入paddlers过程中发生错误 #126

Open

Description

@Lybrantss

import paddlers时出现以下报错
ImportError: cannot import name '_legacy_C_ops' from 'paddle' (/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/init.py)

Activity

  1. self-assigned this
    on Apr 3, 2023
  2. Bobholamovic commented on Apr 3, 2023

    @Bobholamovic
    Collaborator

    你好,这是由于PaddlePaddle库没有安装好,请尝试修复或重装PaddlePaddle。

    参考链接:https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/compile/linux-compile.html

  3. Bobholamovic commented on Jul 3, 2025

    @Bobholamovic
    Collaborator

    可以在pip install安装时指定--no-build-isolation试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions