The Quadro K4200 is a compute capability 3.0 GPU, an architecture for which support was discontinued by NVIDIA in CUDa 11. You will need to install an older CUDA version, as far as I recall 10.1 is the last release that supports your GPU.
Cheers,
Szilárd