-
Notifications
You must be signed in to change notification settings - Fork 88
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
RuntimeError: Please build the library first! #50
Comments
You have the issue, possibly because of #49. Please try to build the .whl file on your own. Our team is very busy recently due to several paper deadlines, and will look into the issues at a later stage. |
I am facing the same issue after git cloning, building and pip installing thundergbm on linux. When I run I face: CMakeFiles/Makefile2:168: recipe for target 'src/thundergbm/CMakeFiles/thundergbm.dir/all' failed |
Hi @Kunjal1999, thanks for the comments. You couldn't import the library because you haven't built the library successfully. So you should check the library building process. Here are some suggestions that might help.
Thanks. |
Hey, thanks for the reply, I was running the commands on Google Colab. nvcc: NVIDIA (R) Cuda compiler driver |
Some bash commands to install ThunderGBM on Colab: |
After win10 system is successfully installed through. whl file.The following error occurred during import:
RuntimeError Traceback (most recent call last)
in
----> 1 import thundergbm
E:\Anaconda\envs\tf\lib\site-packages\thundergbm_init_.py in
8 """
9 name = "thundergbm"
---> 10 from .thundergbm import *
E:\Anaconda\envs\tf\lib\site-packages\thundergbm\thundergbm.py in
32 thundergbm = CDLL(lib_path)
33 else:
---> 34 raise RuntimeError("Please build the library first!")
35
36 OBJECTIVE_TYPE = ['reg:linear', 'reg:logistic', 'binary:logistic',
RuntimeError: Please build the library first!
The text was updated successfully, but these errors were encountered: