Running PySpin (FLIR) Acquisition Example gives Error "module 'pyspin' has no attribute 'System'"

212 views Asked by At

I'm trying to access the FLIR camera with the python SDK. Running the file "Acquisition" gives the following error: "module 'PySpin' has no attribute 'System'".

I tried searching online and the sources suggest that it's a naming error since there's another library named pyspin where the one we need is PySpin (Capital sensitive). I tried uninstalling pyspin installing PySpin, re-downloading the program as a whole, and making sure the wheel and python versions match, but nothing worked from what I've seen online.

What might be wrong?

Full Terminal message:

none File "c:\Users\blehe\Downloads\spinnaker_python-3.1.0.79-cp310-cp310-win\Examples\Python3\Acquisition.py", line 348, in if main(): File "c:\Users\blehe\Downloads\spinnaker_python-3.1.0.79-cp310-cp310-win\Examples\Python3\Acquisition.py", line 298, in main system = PySpin.System.GetInstance() AttributeError: module 'PySpin' has no attribute 'System'

0

There are 0 answers