association loop check and cmake python modules check