Download Python
Go to Python Software Foundation website - downloads
Based on your local OS version, selecting x86 or x64 version, also you need to know which version of python is you preferred (Python 2 or 3).
Environment Variables Configuration
Right click 'This PC' -> 'Properties' -> 'Advanced system settings' -> 'Advanced' -> 'Environment Variables' -> 'System variables' -> 'Path' -> 'Edit' -> 'New' ->
adding C:\Program Files\Python36
(based on the python version you downloaded and your local path) -> click 'Ok'.
For testing
Open command line or powershell, typing 'python' and enter, it will open the python edit mode, otherwise, your python installation failed.
网友评论