Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Baventhiran
Employee
258 Views

Unable to Set Up Environment Variables

Jump to solution

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
180 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
233 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


Baventhiran
Employee
224 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?

Aznie_Intel
Moderator
198 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

Baventhiran
Employee
191 Views

Hi Aznie,

 

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

IntelSupport
Community Manager
181 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

Baventhiran
Employee
176 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. 

IntelSupport
Community Manager
160 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


Reply