RE: Installation issue(Windows Management Instrumentation (WMI)): Getting error after clicking setup.exe.
Getting error after clicking setup.exe.
It seems to be related with python and windows (translation of log error):
“pywintypes.com_error: (-2147023836, ‘The specified service does not exist as an installed service.’, None, None)”
Step 1. Confirm if there is WMI Invalid class issue on the computer
- Press the ‘Win + R’ keyboard shortcut
- Type ‘compmgmt.msc‘ in the blank field
- Press the ‘Ok’ button
- Right-click on WMI Control and select ‘Properties.’
- Check if the computer has any WMI invalid class issues
Step 2. Re-registering WMI components
- The .DLL and .EXE files used by WMI are located in %windir%\system32\wbem. You might need to re-register all the .DLL and .EXE files in this directory. If you are running a 64-bit system you might also need to check for .DLLS and .EXE files in %windir%\sysWOW64\wem
- Open Command Prompt as administrator.
- To re-register the WMI components, run the following commands at the command prompt (Enter a command and press Enter. Wait for it to finish, and then input the next one.):
Step 3. Go to WMI to see if the invalid class issue is fixed
Reference: