clustering in python env