cuda-samples icon indicating copy to clipboard operation
cuda-samples copied to clipboard

import cudf occur the libcuda.so.1: cannot open shared object file: No such file or directory

Open honghh2018 opened this issue 1 year ago • 0 comments

Hi developer, Thanks to develop the great tools.

I want to install the cudf cudatookit through mamba install -c rapidsai -c nvidia -c conda-forge cudf=0.19 python=3.8 cudatoolkit=11.0 cuda command into our minconda environment. but when i try to import the cudf into my python environment like import cudf, it show me below error: Traceback (most recent call last): File "", line 1, in File "/share/apps/virtualEnv/miniconda3-py38/envs/huadaStereopy-st1/lib/python3.8/site-packages/cudf/init.py", line 4, in validate_setup() File "/share/apps/virtualEnv/miniconda3-py38/envs/huadaStereopy-st1/lib/python3.8/site-packages/cudf/utils/gpu_utils.py", line 18, in validate_setup from rmm._cuda.gpu import ( File "/share/apps/virtualEnv/miniconda3-py38/envs/huadaStereopy-st1/lib/python3.8/site-packages/rmm/init.py", line 16, in from rmm import mr File "/share/apps/virtualEnv/miniconda3-py38/envs/huadaStereopy-st1/lib/python3.8/site-packages/rmm/mr.py", line 2, in from rmm._lib.memory_resource import ( File "/share/apps/virtualEnv/miniconda3-py38/envs/huadaStereopy-st1/lib/python3.8/site-packages/rmm/_lib/init.py", line 3, in from .device_buffer import DeviceBuffer ImportError: libcuda.so.1: cannot open shared object file: No such file or directory

The python version was 3.8 and the sys plotform was Centos7.9 how to fix this issue? Any advice would be appreciated Best, hanhuihong

honghh2018 avatar Dec 31 '23 02:12 honghh2018