Created
August 9, 2023 07:37
-
-
Save betatim/15bd6a2a53b561d81a7b27b0405e6c5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
ImportError Traceback (most recent call last) | |
File /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy/__init__.py:17 | |
16 try: | |
---> 17 from cupy import _core # NOQA | |
18 except ImportError as exc: | |
File /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy/_core/__init__.py:3 | |
1 # mypy: ignore-errors | |
----> 3 from cupy._core import core # NOQA | |
4 from cupy._core import fusion # NOQA | |
File cupy/_core/core.pyx:1, in init cupy._core.core() | |
File /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy/cuda/__init__.py:8 | |
7 from cupy._environment import get_hipcc_path # NOQA | |
----> 8 from cupy.cuda import compiler # NOQA | |
9 from cupy.cuda import device # NOQA | |
File /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy/cuda/compiler.py:13 | |
11 import warnings | |
---> 13 from cupy.cuda import device | |
14 from cupy.cuda import function | |
File cupy/cuda/device.pyx:8, in init cupy.cuda.device() | |
ImportError: /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy_backends/cuda/libs/../../../../../libcublas.so.11: undefined symbol: cublasLt_for_cublas_HSS, version libcublasLt.so.11 | |
The above exception was the direct cause of the following exception: | |
ImportError Traceback (most recent call last) | |
Cell In[1], line 1 | |
----> 1 import cudf | |
File /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cudf/__init__.py:12 | |
9 _setup_numba() | |
10 validate_setup() | |
---> 12 import cupy | |
13 from numba import config as numba_config, cuda | |
15 import rmm | |
File /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy/__init__.py:19 | |
17 from cupy import _core # NOQA | |
18 except ImportError as exc: | |
---> 19 raise ImportError(f''' | |
20 ================================================================ | |
21 {_environment._diagnose_import_error()} | |
22 | |
23 Original error: | |
24 {type(exc).__name__}: {exc} | |
25 ================================================================ | |
26 ''') from exc | |
29 from cupy import cuda # NOQA | |
30 # Do not make `cupy.cupyx` available because it is confusing. | |
ImportError: | |
================================================================ | |
Failed to import CuPy. | |
If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed. | |
On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm. | |
On Windows, try setting CUDA_PATH environment variable. | |
Check the Installation Guide for details: | |
https://docs.cupy.dev/en/latest/install.html | |
Original error: | |
ImportError: /opt/conda/envs/rapids-23.06/lib/python3.10/site-packages/cupy_backends/cuda/libs/../../../../../libcublas.so.11: undefined symbol: cublasLt_for_cublas_HSS, version libcublasLt.so.11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment