I found information on how to remove python2 from the recipe and add Python3 but I don’t know if/how it will work with NXP. Also, there are a lot of people that say Python2 is needed for dependencies, and you shouldn’t remove it even if you use Python3. But this info is mainly for Debian/Ubuntu, and I can’t find anything regarding Yocto.