-
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
Could not find module 'C:\Users\thang\AppData\Roaming\Python\Python39\site-packages\thundergbm\thundergbm.dll' (or one of its dependencies). Try using the full path with constructor syntax. #53
Comments
Did you solve the problem? |
bumping up! |
Please provide more information to help us reproduce the bug, such as your system information and CUDA version. Did you build the library by yourself or install it via pip? |
Hello, I do not have C++ compilation tools and was looking for a ready to install package, so I picked up the latest win_amd64 that I thought would be appropriate and installed it. Installation was successful But when trying to import TGBMClassifier:
Hope this helps. Narayan |
Found this in the python documentation that may explain the issue: Hope this helps to fix the code. |
Hi @RNarayan73, thanks a lot for your help. We will fix this issue and get back to you soon. Please stay tuned. |
Hello, @Kurt-Liuhf just wondering if you've had a chance to look into this yet? |
I had met the same proble. It is because lack cusparse64_10.dll for 0.3.12 and cusparse64_100.dll for 0.3.4, download cusparse64_10.dll for 0.3.12 and put it it in C:\Windows\System32 or python_install_path\Lib\site-packages\thundergbm. it can work. |
Hi there,
Many thanks for your good library.
I have an issue when import TGBMClassifier:
FileNotFoundError Traceback (most recent call last)
in
1 #from thundergbm import TGBMClassifier
----> 2 from thundergbm import TGBMClassifier
3 #clf = TGBMClassifier()
~\AppData\Roaming\Python\Python39\site-packages\thundergbm_init_.py in
8 """
9 name = "thundergbm"
---> 10 from .thundergbm import *
~\AppData\Roaming\Python\Python39\site-packages\thundergbm\thundergbm.py in
30 # print(lib_path)
31 if path.exists(lib_path):
---> 32 thundergbm = CDLL(lib_path)
33 else:
34 raise RuntimeError("Please build the library first!")
c:\python\lib\ctypes_init_.py in init(self, name, mode, handle, use_errno, use_last_error, winmode)
372
373 if handle is None:
--> 374 self._handle = _dlopen(self._name, mode)
375 else:
376 self._handle = handle
FileNotFoundError: Could not find module 'C:\Users\thang\AppData\Roaming\Python\Python39\site-packages\thundergbm\thundergbm.dll' (or one of its dependencies). Try using the full path with constructor syntax.
I Checked the path above and the module thundergbm.dll already in that folder
Please help me fix this issue.
Thank you very much for your help.
The text was updated successfully, but these errors were encountered: