Prerequisite

Installing Python on Linux, Mac and Windows

Setup Environment

This section describes the hardware and software needed for this workshop, and how to configure them. This workshop is designed for a BYOL (Bring Your Own Laptop) style hands-on-lab.

Hardware & Software

  • Memory: At least 4 GB+, strongly preferred 8 GB
  • Operating System: Mac OS X (10.10.3+), Windows 10 Pro+ 64-bit, Ubuntu 12+, CentOS 7+.

Install Docker

Docker runs natively on Mac, Windows and Linux. This lab will use Docker Community Edition (CE). Download the Docker CE edition for your machine from the Docker Store.

NOTE: Docker CE requires a fairly recent operating system version. If your machine does not meet the requirements, then you need to install Docker Toolbox.

This workshop is tested with Docker Community Edition 19.03.13-ce-rc10, build fec3683 on Ubuntu 20.04.1 LTS.

Other Software

The softwares in this section are specific to certain parts of the workshop. Install them only if you plan to attempt them.

S.No. Name of Software Link to Follow
1 Git Link
2 Python Link
3 Visual Studio Code Link
4 PyCharm Link
5 Sublime Text 3 Link

Download Python

You can download the latest version of Python from the below links:

Install Python

Select the tab for your computer’s operating system below, then follow its installation instructions.

    1. Open the terminal check if Python is already installed by using the following command. If it’s already above 3.7 skip the next steps
python3 --version
    1. Install Python using apt-get
sudo apt-get install python3.8
    1. Verify that you’ve installed Python by opening a command prompt and typing the following command:

$ python3.8 --version

  1. Confirm that the command prints the installed version of Python.

    1. Open the terminal check if Python is already installed by using the following command. If it’s already above 3.7 skip the next steps
python3 --version
    1. Go to Python’s official downlaod page and click on download.
    1. Once the pkg file is downloaded open it and follow the installation steps
    1. On completetion open terminal to verify if the installation is successful using the following command
python3 --version

    1. Download the latest version of Python from here
    1. Open the downloaded installer file. Ensure that you check Add Python 3.x to PATH
    1. Click on Install Now
    1. In the Command Prompt window that appears, type the following command:

$ python3 --version

    1. Confirm that the command prints the installed version of Python.

Last modified 09.09.10109: adding docker mobile event (8035c3b)