One problem I guess you might be having is cuda installation.
When you installed nvidia driver and cuda toolkit, do you have cuda toolkit path available and loaded in your environment variables.
Try setting, LD_LIBRARY_PATH to /usr/local/cuda/lib64