Traceback (most recent call last):


 "pywinauto_test.py", line 1, in <module>

from pywinauto.application import Application


 "C:\Python36\lib\site-packages\pywinauto\__init__.py", line 72, in <module>

from . import findwindows


 "C:\Python36\lib\site-packages\pywinauto\findwindows.py", line 42, in <module>

from . import controls


 "C:\Python36\lib\site-packages\pywinauto\controls\__init__.py", line 36, in <module>

from . import uiawrapper # register "uia" back-end (at the end of uiawrapper module)


 "C:\Python36\lib\site-packages\pywinauto\controls\uiawrapper.py", line 46, in <module>

from ..uia_defines import IUIA


 "C:\Python36\lib\site-packages\pywinauto\uia_defines.py", line 181, in <module>

pattern_ids = _build_pattern_ids_dic()


 "C:\Python36\lib\site-packages\pywinauto\uia_defines.py", line 169, in _build_pattern_ids_dic

if hasattr(IUIA().ui_automation_client, cls_name):


 "C:\Python36\lib\site-packages\pywinauto\uia_defines.py", line 50, in __call__

cls._instances[cls] = super(_Singleton, cls).__call__(*args, **kwargs)


 "C:\Python36\lib\site-packages\pywinauto\uia_defines.py", line 63, in __init__

self.ui_automation_client.CUIAutomation().IPersist_GetClassID(),
AttributeError: module 'comtypes.gen.UIAutomationClient' has no attribute 'CUIAutomation'

Traceback (most recent call last):



 "<ipython-input-87-23324450a106>", line 1, in <module>

sns.pairplot(p, diag_kind=None, corner=True)



 "c:\program files\python38\lib\site-packages\seaborn\_decorators.py", line 46, in inner_f

return f(**kwargs)



 "c:\program files\python38\lib\site-packages\seaborn\axisgrid.py", line 1974, in pairplot

plotter(scatterplot, **plot_kws)



 "c:\program files\python38\lib\site-packages\seaborn\axisgrid.py", line 1250, in map

self._map_bivariate(func, indices, **kwargs)



 "c:\program files\python38\lib\site-packages\seaborn\axisgrid.py", line 1434, in _map_bivariate

self._plot_bivariate(x_var, y_var, ax, func, **kws)



 "c:\program files\python38\lib\site-packages\seaborn\axisgrid.py", line 1446, in _plot_bivariate

plt.sca(ax)



 "C:\Users\tgentils\AppData\Roaming\Python\Python38\site-packages\matplotlib\pyplot.py", line 982, in sca

if not hasattr(ax.figure.canvas, "manager"):

AttributeError: 'NoneType' object has no attribute 'figure'
