I'm trying to create an executable on Windows 10 from a python app which takes camera images using Spinnaker and its PySpin wrapper. The first step is to acquire the PySpin "System" instance. I can successfully run this python script from the command line
import PySpin
syst = PySpin.System.GetInstance()
But after creating an executable using pyinstaller script.py
I get the following exception upon running it:
_PySpin.SpinnakerException: Spinnaker: System instance cannot be acquired. [-1012]
Somehow the executable cannot acquire the System instance. I tried running it as adminstrator, without luck. I have pyinstaller installed via conda.