Simple steps to install/uninstall pygame on windows [using pip]

Below are the simple steps to install pygame on Windows Operating system.

Steps to install Pygame

  1. Install Python on Windows if you have not installed it
  2. Goto download pygame
  3. Goto Navigation  -> click Download filespython-download-files-location
  4. Download the latest version of pygame source file (.tar.gz file)python-tar-gz-file
  5. Download the pygame package by clicking on pygame.x.x.x.tar.gz file link (x.x.x is version number)
  6. Extract the downloaded TAR file (recommended to extract it to python folder on C drive) Note: When you extract the file, extracted folder contains pygame.x.x.x.tar. You need to extract it again to get the installation files.
  7. Open command prompt or Powershell
  8. Navigate to the folder that you extracted in step 6 (folder contains below files)pygame-setup-file-location
  9. type below command and ENTER

pip install pygame

installing-pygame-with-powershell-command

That’s it. It will be installed on Windows.

Uninstall Pygame using pip on Windows

  1. Open CMD or powershell
  2. Navigate to the pygame installation folder (step 8 in above pygame installation procedure)
  3. Type pip uninstall pygame and ENTERuninstalling-pygame-using-pip-powershell

 

Also Check Simple steps to install openpyxl on Windows

About the Author

SRINI S

A passionate blogger. Love to share solutions and best practices on wordpress hosting, issues and fixes, excel VBA macros and other apps

Leave a Reply

Your email address will not be published.