pywikibot.userinterfaces.gui is broken in python 3.6 because it relies on idlelib which has had a major rewrite in this version.
None of the idlelib imports work in python 3.6:
from idlelib import SearchDialog, ReplaceDialog, configDialog from idlelib.configHandler import idleConf from idlelib.MultiCall import MultiCallCreator