2021-04-14 13:39:45

C:\Users\abdullah\Documents\pro>                                                                                        AttributeError: module 'win32com.gen_py.C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4' has no attribute 'CLSIDToClassMap'      dict = mod.CLSIDToClassMap                                                                                            File "D:\python38\lib\site-packages\win32com\client\gencache.py", line 549, in AddModuleToCache                           AddModuleToCache(typelibCLSID, lcid, major, minor)                                                                    File "D:\python38\lib\site-packages\win32com\client\gencache.py", line 263, in GetModuleForTypelib                        mod = GetModuleForTypelib(typelibCL└────────────────────────────────────────┘                                         File "D:\python38\lib\site-packages\w│                                        │GetModuleForCLSID                          mod = GetModuleForCLSID(clsid)     │                                        │                                         File "D:\python38\lib\site-packages\w│                                        │GetClassForCLSID                           klass = gencache.GetClassForCLSID(r│6: game.py                              │                                         File "D:\python38\lib\site-packages\w│5: cd..                                 │_WrapDispatch                              return __WrapDispatch(dispatch, use│4: game.exe                             │x)                                       File "D:\python38\lib\site-packages\w│3: cd game                              │ispatch                                    disp = win32com.client.Dispatch(pro│2: cd build                             │                                         File "D:\python38\lib\site-packages\w│1: cd pro                               │EnsureDispatch                             result = gencache.EnsureDispatch(na│0: cd Documents                         │                                         File "D:\python38\lib\site-packages\l┌────────────────────────────────────────┐                                           self.object = load_com("SAPI.SPVoice")                                                                                File "D:\python38\lib\site-packages\accessible_output2\outputs\sapi5.py", line 37, in __init__                            self.outputs.append(output())                                                                                         File "D:\python38\lib\site-packages\accessible_output2\outputs\auto.py", line 13, in __init__                             output = Auto()                                                                                                       File "D:\python38\lib\site-packages\lucia\output.py", line 21, in <module>                                                from .output import *                                                                                                 File "D:\python38\lib\site-packages\lucia\__init__.py", line 38, in <module>                                              import lucia

battle.net tag abdallah#22878 the new one because i lost my previous account
my facebook

2021-04-14 13:41:24

sorry i fogot to ask in post lol,
i working on my project but to day i facing this problem when importing lucia and run the py file that showing this error
C:\Users\abdullah\Documents\pro>                                                                                        AttributeError: module 'win32com.gen_py.C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4' has no attribute 'CLSIDToClassMap'      dict = mod.CLSIDToClassMap                                                                                            File "D:\python38\lib\site-packages\win32com\client\gencache.py", line 549, in AddModuleToCache                           AddModuleToCache(typelibCLSID, lcid, major, minor)                                                                    File "D:\python38\lib\site-packages\win32com\client\gencache.py", line 263, in GetModuleForTypelib                        mod = GetModuleForTypelib(typelibCL└────────────────────────────────────────┘                                         File "D:\python38\lib\site-packages\w│                                        │GetModuleForCLSID                          mod = GetModuleForCLSID(clsid)     │                                        │                                         File "D:\python38\lib\site-packages\w│                                        │GetClassForCLSID                           klass = gencache.GetClassForCLSID(r│6: game.py                              │                                         File "D:\python38\lib\site-packages\w│5: cd..                                 │_WrapDispatch                              return __WrapDispatch(dispatch, use│4: game.exe                             │x)                                       File "D:\python38\lib\site-packages\w│3: cd game                              │ispatch                                    disp = win32com.client.Dispatch(pro│2: cd build                             │                                         File "D:\python38\lib\site-packages\w│1: cd pro                               │EnsureDispatch                             result = gencache.EnsureDispatch(na│0: cd Documents                         │                                         File "D:\python38\lib\site-packages\l┌────────────────────────────────────────┐                                           self.object = load_com("SAPI.SPVoice")                                                                                File "D:\python38\lib\site-packages\accessible_output2\outputs\sapi5.py", line 37, in __init__                            self.outputs.append(output())                                                                                         File "D:\python38\lib\site-packages\accessible_output2\outputs\auto.py", line 13, in __init__                             output = Auto()                                                                                                       File "D:\python38\lib\site-packages\lucia\output.py", line 21, in <module>                                                from .output import *                                                                                                 File "D:\python38\lib\site-packages\lucia\__init__.py", line 38, in <module>                                              import lucia

battle.net tag abdallah#22878 the new one because i lost my previous account
my facebook

2021-04-14 13:48:36

Windows r, Type %temp%, Search for a folder called gen_py, Delete it, Done, Problem fixed.

2021-04-14 14:23:35

@3 thanks, i'll try

battle.net tag abdallah#22878 the new one because i lost my previous account
my facebook

2021-04-14 15:07:46

Or
git clone https://github.com/accessibleapps/accessible_output2
cd accessible_output2
pip install .
And you'll never have to deal with it again.

2021-04-15 03:26:47

Thanks Turret, great advice! I also found that you can simplify the command even more by typing this line directly on the command prompt:

pip install https://github.com/accessibleapps/accessible_output2

And Pip will download and install directly the package.

2021-04-15 03:48:18

@6: Oh yeah, I totally forgot PIP let's you install from a Git repo. I'm so used to cloning things though, it's second nature by now. smile.