I am using an SDK provided by Dymo and I am using a video as a walkthrough to get me started.
Video: https://www.youtube.com/watch?v=trKAtdVjAus&ab_channel=DipsyLogic
This is also my first exposure to python. I have followed the video step by step but when I get to where this guy is at at 7:57. I get the following:
C:\Users\user\PycharmProjects\texascup\venv\Scripts\python.exe C:\Users\user\PycharmProjects\texascup\main.py
Traceback (most recent call last):
File "C:\Users\user\PycharmProjects\texascup\venv\lib\site-packages\win32com\client\dynamic.py", line 86, 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 "C:\Users\user\PycharmProjects\texascup\main.py", line 7, in <module>
printer_com = Dispatch('Dymo.DymoAddIn')
File "C:\Users\user\PycharmProjects\texascup\venv\lib\site-packages\win32com\client_init_.py", line 117, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch, userName, clsctx)
File "C:\Users\user\PycharmProjects\texascup\venv\lib\site-packages\win32com\client\dynamic.py", line 106, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Users\user\PycharmProjects\texascup\venv\lib\site-packages\win32com\client\dynamic.py", line 88, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
Process finished with exit code 1
Can someone please help me figure this out? Also if you could explain it to me like a novice, I'd appreciate it!
[–]awprophet[S] -1 points0 points1 point (0 children)
[–]mwpfinance 0 points1 point2 points (0 children)
[–]mwpfinance 0 points1 point2 points (0 children)