I had to downgrade my CUDA installation from 9.2 to 9.0 and I am now getting the following error at “import pycuda.driver”:
ImportError: libcurand.so.9.2: cannot open shared object file: No such file or directory
And at “import tensorrt” I get
ImportError: Please make sure you have pycuda installed
I do have libcurand.so.9.0. What can I do to get pycuda working with CUDA 9.0?
I tried to uninstall pycuda and install it again as per TensorRT installation page, but that did not work. Pycuda was installed via “pip install ‘pycuda>=2017.1.1’”
I have installed pycuda with conda install -c lukepfister pycuda command in a conda environment , in ubuntu…
I have cuda 10.0 in my system, and when i try to import pycuda.autoinit, i am getting the error like this,
Traceback (most recent call last):
File “”, line 1, in
File “/home/anaconda3/envs/measure_dl/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/autoinit.py”, line 2, in
import pycuda.driver as cuda
File “/home/anaconda3/envs/measure_dl/lib/python3.6/site-packages/pycuda-2017.1-py3.6-linux-x86_64.egg/pycuda/driver.py”, line 5, in
from pycuda._driver import * # noqa
ImportError: libcurand.so.8.0: cannot open shared object file: No such file or directory
The particular pycuda you selected was built against CUDA 8.0.
You can’t use CUDA 10.0 as a substitute for that.
I’m not familiar with -c lukepfister and won’t be able to help any further with this. There are many many resources already on the web explaining how to install pycuda.