Python 3.8 or Python 3.9 is typically a safe choice for compatibility with CUDA 12 and cuDNN 8. try to use python 3.8 or 3.9 in place of 3.10