Open mogesh06 opened 1 year ago
Traceback (most recent call last): File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 84, in _GetGoodDispatch IDispatch = pythoncom.connect(IDispatch) pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\PyCharm\Adobe\main.py", line 3, in app = Dispatch("Photoshop.Application") File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client__init__.py", line 118, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch, userName, clsctx) File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 104, in _GetGoodDispatchAndUserName return (_GetGoodDispatch(IDispatch, clsctx), userName) File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 86, in _GetGoodDispatch IDispatch = pythoncom.CoCreateInstance( pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
Traceback (most recent call last): File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 84, in _GetGoodDispatch IDispatch = pythoncom.connect(IDispatch) pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\PyCharm\Adobe\main.py", line 3, in
app = Dispatch("Photoshop.Application")
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client__init__.py", line 118, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch, userName, clsctx)
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 104, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "D:\PyCharm\Adobe\venv\lib\site-packages\win32com\client\dynamic.py", line 86, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)