'xlgui.prefs' was renamed to 'xlgui.preferences', so you need to change the import line that is pointed out in the traceback.
'xlgui.prefs' was renamed to 'xlgui. preferences' , so you need to change the import line that is pointed out in the traceback.