-
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
install itself is failing #5574
Comments
Thanks for using LightGBM. This is not enough information for us to help you. Based only on what you've provided, I'm guessing that you tried running pip install lightgbm And got this error.
Try the following. brew install cmake
pip install lightgbm If that doesn't work, we need more information.
|
when I do,
->
then I do,
->
|
Did you check that file? It should contain more information about why the wheel can't be built. |
then I did this,
as described here, https://stackoverflow.com/questions/48825416/missing-openmp-c-flags-openmp-c-lib-names now it is giving
then I did,
now it is giving,
then I did,
now it gives,
then I did,
but am getting the same symbol not found error |
could the cmake error be displayed while I am installing lightgbm, the bottleneck of having to go to another directory is inconvenient. plus could you do a gcc check, I had to find the gcc version manually, could this directly be suggested while installation, such as,
or just give a yes/no option,
could do it for more steps also
|
Based on the information you've provided, it looks like after following the other error messages you've resolved missing OpenMP and are now facing exactly the same issue as #5269 (comment). Because no free continuous integration (CI) services support M1 Mac (ARM) machines and because none of this project's active maintainers have free access to an M1 Mac machine, it's very difficult for LightGBM to test support for compiling on that architecture. You can try the other possibilities mentioned in #5269, such as installing We understand that this is frustrating for M1 Mac users but it's unlikely to change unless:
It is an intentional choice that all stderr / stdout from compilation isn't pulled back into the output stream of If you feel strongly that
If you feel very strongly that such an interactive installation mode would be worth the effort, please open a separate feature request issue explaining why you think it would be valuable and, in as much detail as possible, how you'd like it to work. |
currently this works,
I will create the required issues |
Ok glad you got it working. I'm going to close this discussion. For you and anyone else finding it from search engines.... please follow and contribute to |
This issue has been automatically locked since there has not been any recent activity since it was closed. |
pip install lightgbm
Exception: Please install CMake and all required dependencies first
python 3.9
macOS
The text was updated successfully, but these errors were encountered: