mhammond / pywin32

Python for Windows (pywin32) Extensions
4.9k stars 783 forks source link

Client missing? #2297

Closed cheffffff closed 1 week ago

cheffffff commented 1 week ago

been working with this for a few weeks now.

the common line: o = win32com.client.Dispatch('Outlook.Application') has somehow stopped working since client has dissappeared?

AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 o = win32com.client.Dispatch('Outlook.Application')

AttributeError: module 'win32com' has no attribute 'client'

It was literally working fine yesterday. No updates on my laptop or any changes I can think of. .client has disappeared from both jupyterlab and pycharm while the package is still there.

Any advice? Tried reinstallling but no good.

cheffffff commented 1 week ago

closing cos i'm retarded and forgot to import correctly