Environment variables and commands lost after Windows 8.1 upgrade

Posted on

QUESTION :

No sooner did I upgrade to windows 8.1 from windows 8, I found that I was unable to run commands from commandline like python, pip, cat,ls etc which are installed in the system when windows 8 existed. So how to restore those environmental variable settings back in windows 8.1?

Update: Also not able to run commands after reinstalling the program e.g: “pip” was installed using windows binaries and yet the command line fails to recognize the pip command.

ANSWER :

Add the directories in which these programs are installed separated by semicolons (;) to the PATH environment variable. You can modify it by going to Control Panel and searching for “environment variables” or “advanced system settings”.

Leave a Reply

Your email address will not be published.