What version of Sage/Python are you using? What version of more_itertools? What error do you get when you try from more_itertools import intersperse? For what it's worth, that command works just fine for me. Finally, I don't understand what you're asking about repeat. It's in itertools, not more_itertools, so perhaps should the last few sentences of your question be deleted?