CREON Plus

전체

안녕하세요!

작성일
2019-09-20 오후 3:31:29
조회수
210
파이썬
모의투자
E**
오류 메시지
import win32com.client
instCpCybos=win32com.client.Dispatch("CpUtil.CpCybos")
==========================================================================-
com_error Traceback (most recent call last)
~\Anaconda3\lib\site-packages\win32com\client\dynamic.py in _GetGoodDispatch(IDispatch, clsctx)
88 try:
==-> 89 IDispatch = pythoncom.connect(IDispatch)
90 except pythoncom.ole_error:

com_error: (-2147221021, '작업을 사용할 수 없습니다.', None, None)

During handling of the above exception, another exception occurred:

com_error Traceback (most recent call last)
<ipython-input-11-3294847621c2> in <module>
====> 1 instCpCybos = win32com.client.Dispatch("CpUtil.CpCybos")

~\Anaconda3\lib\site-packages\win32com\client\__init__.py in Dispatch(dispatch, userName, resultCLSID, typeinfo, UnicodeToString, clsctx)
93 """
94 assert UnicodeToString is None, "this is deprecated and will go away"
==-> 95 dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
96 return __WrapDispatch(dispatch, userName, resultCLSID, typeinfo, clsctx=clsctx)
97

~\Anaconda3\lib\site-packages\win32com\client\dynamic.py in _GetGoodDispatchAndUserName(IDispatch, userName, clsctx)
112 else:
113 userName = str(userName)
==> 114 return (_GetGoodDispatch(IDispatch, clsctx), userName)
115
116 def _GetDescInvokeType(entry, invoke_type):

~\Anaconda3\lib\site-packages\win32com\client\dynamic.py in _GetGoodDispatch(IDispatch, clsctx)
89 IDispatch = pythoncom.connect(IDispatch)
90 except pythoncom.ole_error:
==-> 91 IDispatch = pythoncom.Co$크레이트$Instance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
92 else:
93 # may already be a wrapped class.

com_error: (-2147221164, '클래스가 등록되지 않았습니다.', None, None)
안녕하세요.
이제 막 알고리즘 트레이딩을 배우기 시작한 초보입니다..
주피터 노트북에서 코드를 실행하려고 하는데 처음부터 막혔습니다..
어디가 잘못된 것인가요? 32비트 체제로 바꿨는데도 안되네요..
답변 부타드립니다!

좋은 하루 보내세요!
첨부파일
의견(0)

첨부파일을 PDF뷰어로 확인 하실수 있으며, PDF뷰어 미설치 고객께서는 우측 다운로드를 통해 설치 후 이용 가능 합니다.

PDF뷰어 다운로드

인쇄