This blog show you how to properly install Python3 on MacOS and Windows system.
1. Python installation on Windows
2. Python Installation on MacOS
1. Python installation on Windows
2. Python Installation on MacOS
Python3 Installation on Windows
2. Double click on the installer file (Current version
- python-3.7.4.msi). You will get the below screen –
3. Click on Next button.
4. Click on Next button
5. Enter the install location or leave the default
one and Click on Install button
6. Click on “Disable path length limit”
7. Click on Close button
8. Set python path in environment variable. For this, Right
click on Computer and select Properties
9. Click
on “Advanced System Settings”
10. Under
Advanced, Click on “Environment Variables” button
11. Set
the Python executable in PATH variable
12. Go
to command and verify the installation
13. Now install the "pywin32" using the pip command
14. Launch command prompt and run the command - pip install pywin32
15. Installation Done
Python3 Installation on MacOS
Note – By default, Python v2.7 installed on
MacOS prior to v10.14 but from v10.14 python v3.7 installed on the mac OS.
The below steps for python v3.7 installation
through HomeBrew and create own python virtual environment. A
virtual environment is a way to create an isolated space so you can run Python
2.7 for one project and Python 3.7 for another on the same computer
Pre-requisites –
----------------------------------------------------------------------------------------------------------------------------------
1. Make sure XCode should install on system
2. Java should install on the system and
JAVA_HOME path should be set.
3. HomeBrew should install on system.
Installation link - https://automation-tools-setup.blogspot.com/2018/12/tools-setup-on-mac-system.html
----------------------------------------------------------------------------------------------------------------------------------
Python3 Installation Steps
1. Launch Terminal
2. Run the command – brew install python3
3. The above command will start installing python3
4. Now run below commands on terminal for
creating virtual environment –
mkdir ~/.virtualenvs
python3 -m venv
~/.virtualenvs/myvenv



















