I am facing errors in installing and using PYCUDA for my project.
Below are my environment details-
OS - RHEL LINUX 7.5
CUDA - V9.0.176
CUDNN - v184.108.40.206
TensorRT - 5.1
Python - 2.7 and 3.6
All the above software are already installed.
I am following below link to install PYCUDA -
while following the steps on this link, I was facing problems in step 2 of the installation process. After making some fixes and escaping step 2 , we directly ran step 3.
The “make” file ran successfully and it looked like PYCUDA is installed. But when we import pycuda with below command-
it throws below error-
Traceback (most recent call last):
File “”, line 1, in
File “pycuda/autoinit.py”, line 2, in
import pycuda.driver as cuda
File “pycuda/driver.py”, line 5, in
from pycuda._driver import * # noqa
ImportError: No module named _driver
Please have a look and suggest.