When I run nvidia-smi I get the following message:
nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
An hour ago I receiv
First I installed the Nvidia driver.
Next I installed cuda.
Ater that I got the "Driver/library version mismatch" ERROR but I could see the cuda version so I purged the Nvidia driver and reinstall it.
Then it worked correctly.