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

[Usage] build backend is missing the 'build_editable' hook #544

Closed
buaachen1993 opened this issue Oct 12, 2023 · 3 comments
Closed

[Usage] build backend is missing the 'build_editable' hook #544

buaachen1993 opened this issue Oct 12, 2023 · 3 comments

Comments

@buaachen1993
Copy link

Describe the issue

I tried to install according to the official installation instructions,but got this error
"ERROR: Project file:///XXXX/XXXX/LLaVA 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."

I checked the version of pip and setuptools

pip -V
pip 23.2.1 from /usr/local/conda/envs/llava/lib/python3.10/site-packages/pip (python 3.10)

pip list|grep setup
setuptools 68.0.0

anyone knows why?

@July-zh
Copy link

July-zh commented Oct 13, 2023

I have the same question.

@haotian-liu
Copy link
Owner

haotian-liu commented Oct 13, 2023

Hmm. This is strange. It should not have this issue when you use pip install -U pip, and from your pip version suggests that you've probably already done this.

lm-sys/FastChat#107

@buaachen1993
Copy link
Author

After changing to a new machine, the problem was resolved, but I still don't know why the problem occurred. I am going to close the issue for now. Thank you.

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

3 participants