Skip to content

源码安装报错 #334

@Jarod-Leo

Description

@Jarod-Leo

Reminder / 提示

  • I have read the above reminder and searched existing issues. / 我已阅读上述提示并搜索过现有 Issues。

Problem Description / 问题描述

根据教程知识库清洗流水线安装环境时在

pip install e.

报错,显示报错信息如下

Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/joo8szh/RAG/DataFlow
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
ERROR: Project file:///home/joo8szh/RAG/DataFlow has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

System Info (dataflow env) / 系统信息(dataflow env

Platform: Ubuntu 22.04
Python Version: 3.10.19

Reproduction Steps & Logs / 重现步骤及日志

conda create -n dataflow python=3.10
conda activate dataflow
git clone https://github.com/OpenDCAI/DataFlow.git
cd DataFlow
pip install -e .

Additional Information / 其他补充

No response

Metadata

Metadata

Assignees

No one assigned

    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