Nvidia-smi "No drivers were found" even though nvidia-driver-470 has been installed on Ubuntu 20.04 with GeForce RTX 2060 on DELL G5-5500

I have installed nvidia-driver-470 and reboot, but when I run “nvidia-smi” the GPU isn’t found.

On Ubuntu Settings->Details I can also notice that nvidia is not used for the graphics.

I’ve also run “sudo prime-select nvidia” but it doesn’t change anything.