Python SC Package Installation Guide (Mac)


Installation Instruction Links:


Installer Links:


Note: There should be cause for concern if the version number shown in the screenshots is lower than the installer versions actually downloaded.


Allow Apps from the App Store and Identified Developers

Instructions

Reference: https://support.apple.com/en-us/HT202491

To allow installation from the App Store and Identified Developers on your Mac, choose Apple Menu > System Preferences, click Security & Privacy, then click General

Click the lock and enter your password to make changes. Select App Store and identified developers under the header “Allow apps downloaded from.”


Homebrew and Git

Instructions

Click the Spotlight Search located at the top-right of your screen (the magnifying glass icon at the right side of the current time) then search and open a program named Terminal.

Inside the Terminal program, copy-paste the code below then press Enter.

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”

The terminal should now look like this:

Press Enter and type your device password to continue then wait for the install process to finish.

The executed command will install utility tools (specifically for MacOS devices) that will be used in the bootcamp.

Sample screenshots of the outputs in the Terminal while the command is running.

Verify installation

To verify that the installation process is successful, type the following in the Terminal:

brew -v

It should output the following:

Git was also installed along the way. To confirm, type git –version and the output should be like this:

If the version number is higher than in the screenshot, it means that it is more updated.

After verifying the success of the install process, keep the Terminal in the dock by right-clicking the program in the dock and choosing the Keep in Dock option.


Sublime Text 4

Use the installer

Double click on the Sublime Text icon to run the installer.

A pop-up menu will appear asking permission to open the installer, click on Open.

If another pop-up menu appears asking permission to allow Sublime Text to access files in the Documents folder, click on OK.


Verify installation

Click the Spotlight Search located at the top-right of your screen (the magnifying glass icon at the right side of the current time) then search and open a program named Sublime Text.

To allow easier access to Sublime Text you can right click on the Sublime Text icon and select the Options from the menu, then select the Keep in dock option. This will allow the Sublime Text icon to be kept in the dock even when all instances of the application are closed.


Python

Use the installer

MacOS machines come installed with Python which is used by the OS for running certain applications, however this step is also necessary to ensure an updated version of Python is installed.

Execute the downloaded installer.

Click on Continue in the installation window until a prompt appears informing you to agree to the terms of the software license agreement then click on Agree

After agreeing to the terms of the software license, click on Install and wait for the installation to finish. If a prompt asking for your password appears, enter your device password and click on Install Software.

After the installation has completed, click on Close

Verify installation

To verify the installation of Python, open a terminal window and trigger the command python3 –version to check the currently installed version of Python 3.


XAMPP Installation

Open the downloaded installer. 

If the link to the installer in the download link section provided above does not work or the same version is not found, you may download the installer here.

The link provided above will redirect you to a list of installers. Press Ctrl + F on your keyboard to open the find in page menu.

Look for the installer (xampp-osx-8.1.17-0-installer.dmg) with the exact same name as provided in the screenshot above.

Click the link to download the installer.

Double-click the XAMPP icon. 

Click the Open button to proceed. 

Enter your current account’s password when prompted. Then click the Next button to proceed. 

Click the Next button to proceed. 

Click the Next button to proceed. 

Uncheck the Learn more option then click the Next button to proceed. 

Click the Next button to proceed. 

Wait for the installation to finish. 

Leave the Launch XAMPP checked and click the Finish button 

The XAMPP should open. Go to the Manage Servers tab. Try to start the MySQL Database and Apache Web Server. It should start normally. 

Open Google Chrome and go to localhost/phpmyadmin to confirm that the phpMyAdmin web program works properly. 

To allow use of terminal commands from XAMPP, open a Terminal and execute the command below. 

sudo nano ~/.bash_profile 

Then, add the following lines after the last line (or first line if there is no content yet) inside the opened file editor. 

export PATH=/Applications/XAMPP/xamppfiles/bin:$PATH 

Press Ctrl+O to save the file then Ctrl+X to exit the editor. Then, execute the command below to refresh Terminal settings. 

source ~/.bash_profile 

Execute the following commands in the Terminal to determine that XAMPP has been configured properly for Terminal use: 

which mysql 

mysql –version 

The output of these commands should be the following: 


Django

Instructions

To install Django, run the command python -m pip install Django. This will install the latest version of Django on your device.

Verify installation

To verify the installation of Django, run the command python -m django –version. This will print out in the terminal the current version of Django installed on your device.


Postman

Use the installer

Execute the downloaded installer.

Wait for the installer to finish.

After installation, the Postman window will open. Close it afterwards.


If you’ve stumbled upon this blog post and aren’t a bootcamper, you can begin your bootcamp journey with Zuitt by clicking this link: