您好!
我正在使用上面的器件、并希望使用 python shell 来控制器件寄存器。 在 SigCon Architect 中、使用"Script"菜单选项、
我收到如下所示的错误消息。 我实际上安装了 Python 2.7、但直接在 C:\路径中安装 C:\Python27]。
为了解决此问题、我遵循了 SigCon Architect 帮助文档(通过帮助)、在 Python 命令 shell 中、我执行了这些操作
Python 命令。 第一个-> Gui_Module='_import__('SIGCon Architect')看起来工作正常、
但下一个失败则具有以下故障签名。 (注意:我复制了 SigCon Architect.py 和 SigCon Architect.exe 文件
执行 python 的位置。)
>>> Gui_Module.Device_GUI ("SigCon Architect.exe")
脚本成功完成
回溯(最近一次调用最后一次):
文件" "、第1行、输入
文件"SigCon Architect.py"、第13行、位于_init__中
self.DeviceGUI=cdll.LoadLibrary (dll_path)
LoadLibrary 中的文件"C:\Python27\lib\ctypes\_init__.py"、第440行
返回 self_dlltype (name)
文件"C:\Python27\lib\ctypes\__init__.py",第362行,位于__init__中
self_handle =_dlopen (self_name、模式
WindowsError:[error 126] The specified module could not be found (Windows 错误:[错误126]未找到指定的模块)
是否有任何想法、问题可能是什么? Python 是否需要安装在 C:\ProgramFiles (x86)\.etc 中?
提前感谢、致以诚挚的问候、
Karsten Stangel