To allow a wide range of existing bicycles to be easily converted into electric power assisted bicycles, a retrofit electric machine for a bicycle includes: a housing (