我正在为天文图像构建一个图像处理器,需要64位python来处理大量数据
以前我在python中自动运行的天体测量程序(Pinpoint)是32位的,因此我在32位python中运行使用该程序的代码,使用Win32 COM,并分别在64位python环境中运行图像处理器
他们最近推出了一个64位版本,所以我想将它集成到我的64 python env代码中,但仍然会出错
import win32com
f = win32com.client.Dispatch("Pinpoint.plate")
这是在32位python中运行良好的代码,因为程序本身(pinpoint)是32位的。但是,在64位python中运行此命令时,我会遇到以下错误
File "C:\Users\shane\anaconda3\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147221164, 'Class not registered', None, None)
有运行64位程序的win64com吗
目前没有回答
相关问题 更多 >
编程相关推荐