-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[python-package] Install lightgbm from source failed #5875
Comments
Thanks for using LightGBM. Installing the development version of To build an unreleased version, please run the following. git clone --recursive https://github.com/microsoft/LightGBM
cd LightGBM
sh build-python.sh install |
Thank you. We previously use |
Ah sorry about that! To give you some more context... This was broken by me in #5837. Since Those backends rely on packaging in static metadata + tend to assume that you are building from the root of a repo that is only a Python package. That isn't true here in LightGBM, where we have a tree layout like this:
You can read much more about this topic at #5061. Please feel free to tag me on any PRs over in |
@jameslamb Thank you! |
No, we are not planning to support To be honest, I didn't consider direction installation with We do really appreciate you installing the latest development version of I expected that |
Closing this for now, please |
But @jameslamb it fails at |
Not exactly. This issue was opened at a transition time where there was still a Nothing about using The more important thing to understand here is this... to build The changes to |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
Installing lightgbm from github source failed:
Output:
Reproducible example
Environment info
LightGBM version or commit hash:
Command(s) you used to install LightGBM
python_version=3.8
OS: Ubuntu 22.04.2 LTS
Additional Comments
The text was updated successfully, but these errors were encountered: