I recently updated my drivers with nvidia-current. Because of this, when executing code I get this error
Traceback (most recent call last):
File "imageExpand.py", line 322, in <module>
print cuda.gpus
File "/home/uchytilc/anaconda2/lib/python2.7/site-packages/numba/cuda/cudadrv/devices.py", line 43, in __str__
return ', '.join([str(d) for d in self.lst])
File "/home/uchytilc/anaconda2/lib/python2.7/site-packages/numba/cuda/cudadrv/devices.py", line 26, in __getattr__
numdev = driver.get_device_count()
File "/home/uchytilc/anaconda2/lib/python2.7/site-packages/numba/cuda/cudadrv/driver.py", line 334, in get_device_count
self.cuDeviceGetCount(byref(count))
File "/home/uchytilc/anaconda2/lib/python2.7/site-packages/numba/cuda/cudadrv/driver.py", line 272, in __getattr__
self.initialization_error)
numba.cuda.cudadrv.error.CudaSupportError: Error at driver init:
CUDA driver library cannot be found.
If you are sure that a CUDA driver is installed,
try setting environment variable NUMBAPRO_CUDA_DRIVER
with the file path of the CUDA driver shared library.
Is the CUDA driver shared library path something like this /usr/local/cuda-8.0/lib64/......?