Trying to get tensorflow to work with my GPU

Hi! I recently bought a new laptop with a 4060 graphics card and I wanted to install the necessary things for tensorflow to use it. I have python 3.11, tensorflow 2.14 and CUDA 11.7. According to the internet, these versions should be compatible. I also installed the CUDNN package, but this step is the only one I’m not sure I did correctly. Also, the GPU drivers are up to date. When I run tf.test.is_built_with_cuda() it says false, and it says the number of available GPUs is 0. I am working on Windows 11 with an AMD Ryzen 7 processor. I think I have done all the steps correctly but can’t figure out what the problem is. My main priority when it comes to the versions is to have the latest version of python possible (changing tensorflow and CUDA is no problem), I also tried setting up a virtual environment but was having issues with that too.