I wanted to install scikit-cuda to accelerate FFT and it complained about not finding cuda.h. I followed this tutorial Installing CUDA on Nvidia Jetson Nano - JFrog Connect and after fixing errors, I managed to pip install scikit-cuda, but it doesn’t work.
nvidia-smi says NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Importing pycuda yields
Traceback (most recent call last):
File “”, line 1, in
File “/home/paul/.local/lib/python3.8/site-packages/pycuda/autoinit.py”, line 5, in
pycuda._driver.Error: cuInit failed: unknown error
I have nvcc.
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Thu_Jun_11_22:26:42_PDT_2020
Cuda compilation tools, release 11.0, V11.0.194
In bashrc I put:
Is there something I can do to repair this? Thanks!
LE: I installed CUDA with SDK Manager after some battles :D
nvidia-smi doesn’t exist anymore, but the pip package is working. This can be closed I think.