NVIDIA Driver not installing

Hi, I’ve been trying to install a NVIDIA Driver (NVIDIA-Linux-x86_64-515.57) on a Linux Virtual Machine running Ubuntu 20.04. I’ve installed all the necessary build-essential and other dependencies with the correct version, but I still get this error where it says;

Disabling lock debugging due to kernel taint.
nvidia: module verification failed: signature and/or required key missing - taining kernel
nvidia:nvlink: Nvlink Core is being initialized, major device number 240
NVRM: This PCI I/0 region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is OM @ 0x0 (PCI:0000:0b:00.0)
nvidia: probe of 0000:0b:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 decie(s).
NVRM: None of the NVIDIA devices were initialized.
nvidia-nvlink: Unregistered Nvlink core, major device number 240

Would appreciate any assistance regarding this, thanks!