cupy in conda reports ImportError: libcudart.so.9.0: cannot open shared object file: No such file or directory
See original GitHub issueCupy installed from anaconda (conda install cupy
) is reporting that it could not load the correct cuda library. It happens when I import cupy
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
libcudart.so.9.0: cannot open shared object file: No such file or ...
The error libcudart.so.9.0: cannot open shared object file: No such file or directory means that the versions don't match.
Read more >Libcudart.so.9.0: cannot open shared object file: No such file ...
Hi, I got a error while importing the torch. The error is “ImportError: libcudart.so.9.0: cannot open shared object file: No such file or ......
Read more >digikam - error while loading shared libraries: libcudart.so.8.0
I have tried --purge and reinstall digikam but it does not fix the problem. sudo apt-get install libopencv-dev python3-opencv --reinstall. did ...
Read more >libcudart.so.10.2: cannot open shared object file - Code Grepper
Answers related to “libcudart.so.10.2: cannot open shared object file: No such file or directory in google colab”. ImportError: libGL.so.1: cannot open ...
Read more >Python on Leonhard - ScientificComputing
ImportError : libcublas.so.9.0: cannot open shared object file: No such file or directory. If you link a code to a CUDA library, then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Dependency declaration of CuPy packages on Anaconda seems broken. I’ll contact Anaconda team to address this issue.
When you have
cudatoolkit=9.2
, CuPy built for CUDA 9.0 will be installed instead of CuPy built for CUDA 9.2. This will cause the error you mentioned in the issue title.Dependency of
cupy-5.1.0-py37h062aff8_0
(for CUDA 8.0):"cudatoolkit >=8.0,<9.0a0"
(correct)Dependency of
cupy-5.1.0-py37h686fdb1_0
(for CUDA 9.0):"cudatoolkit >=9.0,<10.0a0"
(incorrect; should be"cudatoolkit >=9.0,<9.1a0"
)Dependency of
cupy-5.1.0-py37hc15394e_0
(for CUDA 9.2):"cudatoolkit >=9.2,<10.0a0"
(correct)Dependency of
cupy-5.1.0-py37hc0ce245_0
(for CUDA 10.0):"cudatoolkit >=10.0.130,<11.0a0"
(incorrect; should be"cudatoolkit >=10.0.130,<10.1a0"
) (Currently it is working because Anaconda does not provide CUDA 10.1 package yet.)can’t replicate this. I just installed a fresh Anaconda3 on linux, then
conda install cudatoolkit
andconda install cupy
. thenimport cupy
doesn’t give errors