In this blog post, we show you how to setup or install Python on windows system.
This is fourth post of series where we discuss about setting up development environment for Ethereum that we need before we start with smart contract development. Click Post 1, Post 2 and Post 3 to go over the first, second and third post where we discuss about installation of NodeJs , Git and Visual Studio Code.
Let's see how to Python on windows.
If you prefer to watch video then go over below video and see the Python setup.
Watch Video- How To Install Python on Windows
We have two options to setup Python on windows as mentioned below.
- Using chocolatey
- Using direct window installer
Let's go over these options one by one.
This is recommended option from our end but before we setup Python, we need to install chocolatey on windows system. You can skip below step if chocolatey is already installed on your system.
To Install chocolatey visit below link and go to "Install with cmd.exe" section.
Now run below command as given on above link on window command prompt.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
This command install chocolatey on window system. Now let's see how to install Python on windows using chocolatey, for that run below choco command and that will download and install Python on the system.
choco install python -y
Wait for some time and python gets installed on the system.
Using direct window Installer
Go to below link and download the window installer. Run that executable file and choose default option.