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

OSError: libcusparse.so.10.0: cannot open shared object file: No such file or directory #59

Open
arilwan opened this issue Nov 11, 2021 · 1 comment

Comments

@arilwan
Copy link

arilwan commented Nov 11, 2021

Trying to work with ThunderGBM on Ubuntu. Installation seems to be successful:

$ pip install thundergbm
Requirement already satisfied: thundergbm in ./venv/lib/python3.8/site-packages (0.3.16)
Requirement already satisfied: numpy in ./venv/lib/python3.8/site-packages (from thundergbm) (1.21.4)
Requirement already satisfied: scipy in ./venv/lib/python3.8/site-packages (from thundergbm) (1.7.2)
Requirement already satisfied: scikit-learn in ./venv/lib/python3.8/site-packages (from thundergbm) (1.0.1)
Requirement already satisfied: joblib>=0.11 in ./venv/lib/python3.8/site-packages (from scikit-learn->thundergbm) (1.1.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in ./venv/lib/python3.8/site-packages (from scikit-learn->thundergbm) (3.0.0)

But them working with it generates error:

>>> from thundergbm import TGBMClassifier
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/Desktop/gpuimlearn/src/CPU-imLearn/venv/lib/python3.8/site-packages/thundergbm/__init__.py", line 10, in <module>
    from .thundergbm import *
  File "~/Desktop/gpuimlearn/src/CPU-imLearn/venv/lib/python3.8/site-packages/thundergbm/thundergbm.py", line 32, in <module>
    thundergbm = CDLL(lib_path)
  File "~/anaconda3/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.10.0: cannot open shared object file: No such file or directory

Ubuntu distribution:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic
@zeyiwen
Copy link
Collaborator

zeyiwen commented Nov 16, 2021

You can build the wheel file from this link.

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

2 participants