Python PATH should be stored in the environment variable of the operating system,
so that the python scripts present in any drive/folder can be executed.
Prerequisite:
Python is already installed
Python Installation http://automation-home.blogspot.in/2014/12/python-installation.html
Right click on 'Computer' icon and click 'Properties'.
Click 'Advanced System Settings'.
Click on 'Advanced' tab.
Click on 'Environment Variables' button.
Click ''New' button under 'System Variable'.
Variable name: 'PYTHON_HOME'
Variable value: <<Path of python installation folder>>
ex: C:\Users\<<user>>\AppData\Local\Programs\Python
Click 'OK' button.
Select 'Path' in 'System variables'.
Click on 'Edit' button.
Variable value: <<already existing path>>;%PYTHON_HOME%;<<sub folder having python version>>
eg: %PYTHON_HOME%\Python35-32;
Click 'OK' button.
so that the python scripts present in any drive/folder can be executed.
Prerequisite:
Python is already installed
Python Installation http://automation-home.blogspot.in/2014/12/python-installation.html
Click 'Advanced System Settings'.
Click on 'Advanced' tab.
Click on 'Environment Variables' button.
Click ''New' button under 'System Variable'.
Variable name: 'PYTHON_HOME'
Variable value: <<Path of python installation folder>>
ex: C:\Users\<<user>>\AppData\Local\Programs\Python
Click 'OK' button.
Select 'Path' in 'System variables'.
Click on 'Edit' button.
Variable value: <<already existing path>>;%PYTHON_HOME%;<<sub folder having python version>>
eg: %PYTHON_HOME%\Python35-32;
Click 'OK' button.
No comments:
Post a Comment