cuda sample deviceQuery not working but NVRM is fine

sudo ./deviceQuery

/deviceQuery Starting...

         CUDA Device Query (Runtime API) version (CUDART static linking)

        cudaGetDeviceCount returned 30
        -> unknown error
        Result = FAIL

sudo dmesg | grep NVRM

[    8.237489] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  410.93  Thu Dec 20 17:01:16 CST 2018 (using threaded interrupts)

NVRM is working fine but i am still not getting output for the cuda ./deviceQuery program please help me to sort out this issue
Thanks ,

have you rebooted the system?

how exactly did you install the 410.93 driver? Where did you get the installer, and what command did you use exactly?