Python Installation
Python Installation
Python Installation
Step 1: Open below URL and click on the latest release of Python –
https://www.python.org/downloads/
At the time of publishing this document, the latest Python 3 release is version 3.8.5
Note: If your Windows installation is a 32-bit system, you need the Windows x86 executable installer. If
your Windows is a 64-bit version, you need to download the Windows x86-64 executable installer.
Step 2: Run the Python Executable Installer and select Install now (the recommended installation)
options –
Enter pip -V in the console. If Pip was installed successfully, you should see the following output:
Pip has not been installed yet if you get the following output:
’pip’ is not recognized as an internal or external command, Operable program or batch file.
PIP is a package management system used to install and manage software packages/libraries written in
Python. These files are stored in a large “on-line repository” termed as Python Package Index (PyPI).
pip uses PyPI as the default source for packages and their dependencies.
jupyter notebook
Python 3 Installation for Mac
Step 1: Install Homebrew (Part 1)
1. Open a browser and navigate to http://brew.sh/. After the page has finished loading, select the
Homebrew bootstrap code under “Install Homebrew”. Then hit Cmd+C to copy it to the
clipboard. Make sure you have captured the text of the complete command because otherwise
the installation will fail.
2. Now you need to open a Terminal.app window, paste the Homebrew bootstrap code, and then
hit Enter. This will begin the Homebrew installation.
3. If you’re doing this on a fresh install of macOS, you may get a pop-up alert asking you to install
Apple’s “command line developer tools”. You will need those to continue with the installation,
so please confirm the dialog box by clicking on “Install”.
You can continue installing Homebrew and then Python after the command line developer tools
installation is complete:
1. Confirm the “The software was installed” dialog from the developer tools installer.
2. Back in the terminal, hit Enter to continue with the Homebrew installation.
3. Homebrew asks you to enter your password so it can finalize the installation. Enter your user
account password and hit Enter to continue.
Note: When you copy this command, be sure you do not include the $ character at the beginning. That
is just an indicator that this is a console command.
This will download and install the latest version of Python. After the Homebrew brew install command
finishes, Python 3 should be installed on your system.
3. You should see the help text from Python’s “Pip” package manager. If you get an error message
running pip3, go through the Python install steps again to make sure you have a working Python
installation.
jupyter notebook