Article ID: 000057532 Content Type: Error Messages Last Reviewed: 04/26/2023

Error: “Python Is Not Installed” When Running OpenVINO™ setupvars.bat in Windows® 10

Environment

Windows 10OpenVINO 2020.4Python 3.6Python 3.7

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Process steps to resolve error encountered during OpenVINO™ Toolkit environment initialization.

Description

When executing setupvars.bat script to initialize OpenVINO™ environment in Windows® 10, encountered the following error message:
Python is not installed.

Resolution

The error may appear when Python.exe file cannot be found.

Search for Python 3.6.X.exe or 3.7.X.exe location and add Python path to the PATH environment variables, as follows:

  • If Python* is not yet installed:
    • Install Python and during installation, select the checkbox option add python to PATH
  • If Python is already installed, add Python path to the environment variables path, as follows:
    • Select Start and Search for Advanced System Setting
    • Select System properties
    • Select Environment variables
    • Within system variables:
      • select New to add your python.exe file path eg: C:\Users\username\AppData\Local\Programs\Python\Python36, and select Ok, or
      • select Edit to modify your existing path to point to the python.exe file location, as above.
  • If symptoms persist, uninstall and reinstall Python.

Related Products

This article applies to 1 products