使用的脚本:
from pypylon import pylon
cam = pylon.InstantCamera(pylon.TlFactory.GetInstance().CreateFirstDevice())
cam.Open()
print(cam.GetDeviceInfo)
cam.Close()
[enter image description here][1]
print("done")
操作系统:Windows 10 64位
相机:Basler acA640
通过USB 3.0连接
运行上述脚本时出错:
进程结束,退出代码为-1066598274(0xC06D007E)