You may need to reseat the card to get it detected.
Do you have switchable graphics which was working previously in Windows 10 and also Ubuntu? Is this enabled in the BIOS or UEFI firmware presently? That it isn't appearing in Device Manager may mean it's disabled I've been getting the same error message, so the installation does not proceed any further.
FRESH INSTALL NVIDIA GRAPHICS DRIVER DRIVERS
Attempt to install latest Nvidia drivers after installing (same/most recent available) BIOS.