Easy install was updated 4 days ago to install in debian 10. So, Easy install works in this version.
But this update causes this error for lower versions. The error has been identified and commented on in GitHub. The author of the update has not yet made the necessary corrections.