When I run nvidia-smi I get the following message:
Failed to initialize NVML: Driver/library version mismatch
An hour ago I receiv
Had the issue too. (I'm running ubuntu 18.04)
What I did:
dpkg -l | grep -i nvidia
Then 
sudo apt-get remove --purge nvidia-381 (and every duplicate version, in my case I had 381, 384 and 387)
Then sudo ubuntu-drivers devices to list what's available
And I choose sudo apt install nvidia-driver-430
After that, nvidia-smi gave the correct output (no need to reboot). But I suppose you can reboot when in doubt.
I also followed this installation to reinstall cuda+cudnn.