Running apt-cache rdepends python will show which packages depend on python (and hence pulled it in when they were installed). If that tells you that no package "python" was found, run dpkg -S python and pick the proper one (probably a python2.6 or similar).