Unable to Execute build.exe from OpenVINO™ Python* Script Using PyInstaller
Content Type: Compatibility | Article ID: 000059012 | Last Reviewed: 05/20/2022
In the pyinstaller command line, provide the dependency files for iecore() to work. In this command line, plugins.xml helps the sample to load the required plugins.
pyinstaller --onefile --add-data "C:\Program Files (x86)\IntelSWTools\openvino_2020.3.194\deployment_tools\inference_engine\bin\intel64\Release\plugins.xml;." demo_sample.py
Source the OpenVINO environment variables before running the resulting .exe file.