Skip to content

Instantly share code, notes, and snippets.

@AAdewunmi
Created July 31, 2022 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AAdewunmi/358a57e3ad9a9508ee80e89628a5bd8f to your computer and use it in GitHub Desktop.
Save AAdewunmi/358a57e3ad9a9508ee80e89628a5bd8f to your computer and use it in GitHub Desktop.
How to Install and Setup Pygame for Mac OSX
Install pip (package installer for python)
1. Open a terminal window and type:
$ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
2. Install Pygame:
Type into previously opened terminal:
$ sudo pip install pygame
3. Verify Installation
Open another terminal window and type:
$ python3
$ import pygame
... Enjoy 😎

1. Install pip

Screenshot_1image

2. Install Pygame

Screenshot_2image

3. Verify Installation:

Screenshot_3image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment