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

ERROR: File "setup.py" not found. #745

Open
qhzhuang opened this issue Nov 7, 2024 · 1 comment
Open

ERROR: File "setup.py" not found. #745

qhzhuang opened this issue Nov 7, 2024 · 1 comment

Comments

@qhzhuang
Copy link

qhzhuang commented Nov 7, 2024

以编辑模式安装mindone执行pip install -e .时报错ERROR: File "setup.py" not found.
主要是pip版本较老, 升级pip后解决

@townwish4git
Copy link
Contributor

Copied from https://stackoverflow.com/questions/69711606/how-to-install-a-package-using-pip-in-editable-mode-with-pyproject-toml/69711730#69711730:

PEP 660 – Editable installs for pyproject.toml based builds defines how to build projects that only use pyproject.toml. Build tools must implement PEP 660 for editable installs to work. You need a front-end (such as pip ≥ 21.3) and a backend. The statuses of some popular backends are:

Note: To be able to do an editable installation to your user site (pip install -e --user), you need a system installed setuptools v62.0.0 or newer.

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

2 participants