Skip To Main Content
Support Knowledge Base

Encountered Error:"\install_prerequisites\..\mo\utils\extract_release_version.py') was unexpected at this time." When Running the install_prerequisites.bat Batch File

Content Type: Error Messages   |   Article ID: 000059154   |   Last Reviewed: 05/20/2022

Environment

Operating System

Windows® 10, 64-bit*
OpenVINO™ 2021.3

Description

Executed install_prerequisites.bat batch file but received error: <INSTALL_DIR>\install_prerequisites\..\mo\utils\extract_release_version.py') was unexpected at this time.

Resolution

Add quotation marks in the following lines of the install_prerequisites.bat batch file:

  • Original line 83 to: set python_command='python "%~dp0..\mo\utils\extract_release_version.py"'
  • Original line 93 to: python "%~dp0..\mo\utils\find_ie_version.py"
  • Original line 132 to: python "%~dp0..\mo\utils\find_ie_version.py"
  • Original line 150 to: python "%~dp0..\mo\utils\find_ie_version.py"

Additional information

For Windows*, it is required to use quotation marks when specifying paths with spaces.

Related Products

This article applies to 2 products.

Discontinued Products

Intel® Developer Cloud for the Edge