Problesm using cuda 11.7, cudnn 8.4 and windows 11

I am using cuda version 11.7 and cudnn 8.4
with the version of python 3.10 and kuda 2.10. anda nvidea 3080

I have tried with various interpreters and versions of these programs but using pycharm I get the following error:

2023-06-14 12:58:59.168094: I tensorflow/stream_executor/cuda/] Loaded cuDNN version 8401

Process finished with exit code -1073740791 (0xC0000409)

After several tests I don’t know what it could be because as far as I have read it is an error resulting from a bad relationship between versions.

Can someone tell me if I’m doing something wrong.

Thank you so much