ubuntu ImportError: cannot import name MAXREPEAT

If you are using virtualenvwrapper then you can recreate the virtualenv on top of the existing one (with no environment currently active):

mkvirtualenv <existing name>

which should pull in the latest (upgraded) python version from the system and fix any mismatch errors.

Leave a Comment