Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Unable to Set Up Environment Variables

Baventhiran
Employee
1,751 Views

Hi, Baven here.

I'm trying to set-up the OpenVino ToolKIt and am at this point:

Baventhiran_0-1599560345535.png

ref. https://rb.gy/cthvge

 

However, when attempting that, this happens:

Baventhiran_1-1599560396878.png

As you can see, even with Python 3.6 installed, the command prompt claims that it is not installed.

What I have tried: repairing the installation, uninstalling and reinstalling the 3.6.X

Please advise, thank you.

 

 

0 Kudos
1 Solution
IntelSupport
Community Manager
1,673 Views

Hi,

I suspect this happens due to the repeated call. Batch file is repeatedly executed in the same command window. Could you try to restart the command window and try it again?

 

If you still encounter the same issue, this might be the command is too long for the Windows command line environment to handle. For this, you need to shorten the path, or else you can try LongPathTool to fix this problem.

 

Regards,

Aznie


View solution in original post

7 Replies
IntelSupport
Community Manager
1,726 Views

Hi,

Thanks for reaching out.

This happens because Python.exe file couldn't be found. You need to search for Python 3.6.X.exe location and add Python path to the PATH environment variables.


Search for Advanced System Setting > System properties > Environment variables > system variables > Path > Edit > New (add your python.exe file path eg: C:\Users\username\AppData\Local\Programs\Python\Python36) > Ok


Or another way would be to uninstall and reinstall python. During reinstallation, you can tick the option 'Add python to PATH'

 

Regards,

Aznie


0 Kudos
Baventhiran
Employee
1,717 Views

Hi Aznie,

 

Thank you for your response.

 

uninstall and reinstall python. During reinstallation, you can tick the option 'Add python to PATH'

The above was already done (mentioned in the OP) but the error was not resolved

 

Search for Advanced System Setting > System properties > Environment variables > system variables > Path > Edit > New (add your python.exe file path eg: C:\Users\username\AppData\Local\Programs\Python\Python36) > Ok

Where do I access that?

0 Kudos
Aznie_Intel
Moderator
1,691 Views

Hi ,

You need to search from your Desktop.

Start > Search for Advanced System Setting > System properties > Environment variables > system variables > Path > Edit > New (add your python.exe file path eg: C:\Users\username\AppData\Local\Programs\Python\Python36) > Ok

 
 

Regards,

Aznie

0 Kudos
Baventhiran
Employee
1,684 Views

Hi Aznie,

 

Thanks for your guidance. Following it, now I'm facing this error (ref. attached image).

0 Kudos
IntelSupport
Community Manager
1,674 Views

Hi,

I suspect this happens due to the repeated call. Batch file is repeatedly executed in the same command window. Could you try to restart the command window and try it again?

 

If you still encounter the same issue, this might be the command is too long for the Windows command line environment to handle. For this, you need to shorten the path, or else you can try LongPathTool to fix this problem.

 

Regards,

Aznie


Baventhiran
Employee
1,669 Views

Hi Aznie,

 

You're right (ref. attached image), never knew that the Command Prompt has cache-like element too. Thanks for helping me solve this. 

0 Kudos
IntelSupport
Community Manager
1,653 Views

Hi Baven,


This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.


Regards,

Aznie


0 Kudos
Reply