How to Install Pygame on Windows 10?
Contents

How do I install pygame?

  • Make sure that your Path variable includes both your Python directory and the Scripts directory:
  • Click pygame 1.9.2a0 cp34 none win_amd64.whl (for Python 3.4):
  • Save the file locally.
  • Wheel (.whl) files are installed using pip and wheel.
  • Now you’re ready to install pygame 1.9.2a0 cp34 none win_amd64.whl.

How do I import pygame?

  1. open the folder where your python is installed.
  2. open scripts folder.
  3. type cmd in the address bar. It opens a command prompt window in that location.
  4. type pip install pygame and press enter.
  5. it should download and install pygame module.
  6. now run your code. It works fine
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest