Loaded cuDNN version 8500 Could not load library cudnn_cnn_infer64_8.dll. Error code 193

I got this error when trying to run my CNN AI on my webcam through Jupyter notebook. I noticed that the kernel died and nothing showed up, but when I checked the CMD, it said this:

“I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8500 Could not load library cudnn_cnn_infer64_8.dll. Error code 193”

If it is relevant, I am using an acer nitro 5 laptop to run this.

What can I do to fix this? And would you recommend me anything better than jupyter notebook that is free?

My cuda compiler driver version is also: 11.7