CUDA with NVIDIA GeForce RTX 4060

Please I want to use deep learning with GeForce RTX 4060. I tried to install CUDA Toolkit 12.1 but I got on error “Nvidia Installer failed.” . Can you please help how can use deep learning and how to use my GPU?