Skip To Main Content
Support Knowledge Base

Unable to Execute build.exe from OpenVINO™ Python* Script Using PyInstaller

Content Type: Compatibility   |   Article ID: 000059012   |   Last Reviewed: 05/20/2022

Description

  1. Executed this command line to create a build.exe file from an OpenVINO python script:
    pyinstaller --onefile --add-data "D:\person-detection-retail-0013.xml;." Social_Distancing_MQTT.py
  2. Ran the resulting .exe and receive a blank page where nothing happened.

Resolution

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.

Additional information

 

 

Related Products

This article applies to 2 products.

Discontinued Products

Intel® Developer Cloud for the Edge