cudaImportExternalMemory failed on rgbImage

did you solve it by changing python version? I am using python3.7 on ubuntu 22.04 and have the same error