Purpose:
For some tools like redfishtool shall be running in the Python environment. In this article will introduce how to install the python3 on Windows 10/11.
Target Audience:
For those whom has the basic concept on redfish, python, pip and would like to use some tools like redfishtool on Windows 10/11. The user should know how to install application under Microsoft Store and how to use command line under Windows PowerShell.
Install Procedures:
1. Open the Microsoft Store:
In the search of Windows, please enter "Microsoft Store" and press "Enter" key
2. Search the "python" application
In the search of "Microsoft Store" and enter "python" then press "Enter" key
3. Choose the python version that you preferred or suggest to choose the latest version
Click the python that you want to install. Then click the "Get" to get the preferred version of python.
4. Start to install python
Stay tuned and wait for the installation progress bar completed.
5. Check the installation is completed and version of python
Close all PoweShell and re-open a new PowerShell then run the "python -V" or "python --version" to check the installed python version
PS C:\Users\[username]> python --version
Python 3.13.2
6. Check version of pip (pip could install extra package out of standard python package).
Close all PoweShell and re-open a PowerShell then run the "pip -V" or "pip --version" to check the installed pip version
# Check the version of pip
PS C:\Users\[username]> pip --version
pip 24.3.1 from C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.752.0_x64__qbz5n2kfra8p0\Lib\site-packages\pip (python 3.13)
7. Test python via interactive mode to print the "Hello, World!".
Please run python in the PowerShell and execute "print("Hello, World!" then enter "quit()" to exit python.
PS C:\Users\[username]> python
Python 3.13.2 (tags/v3.13.2:4f8bb39, Feb 4 2025, 15:23:48) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello, World!")
Hello, World!
>>> quit()
--- End of this article ---
Comments
0 comments
Please sign in to leave a comment.