This error bugged me for months, what i did was:
-
Uninstalled the package
pip3 uninstall pygame
-
Purged the pip cache
pip cache purge
-
Finally…Reinstalled pygame using pip3
pip3 install pygame
Worked like a charm 🙂
More Related Contents:
- Pygame already installed; however, python terminal says “No module named ‘pygame’ ” (Ubuntu 20.04.1)
- Unable to install Pygame using pip
- pygame installation: sdl-config command not found
- Why is nothing drawn in PyGame at all?
- How do I find the location of my Python site-packages directory?
- how to play wav file in python?
- How can i shoot a bullet with space bar?
- Not letting the character move out of the window [duplicate]
- How to install PIL with pip on Mac OS?
- pycharm doesn’t recognize pygame package
- How to get the correct dimensions for a pygame rectangle created from an image
- Pygame image transparency confusion [duplicate]
- Why is my pygame display not responding while waiting for input?
- Is it possible to change sprite colours in Pygame?
- How can I made a collision mask?
- How to simulate Jumping in Pygame for this particular code
- Pygame Tic Tak Toe Logic? How Would I Do It
- How to install xgboost package in python (windows platform)?
- Can’t install pygame with pip as there is an error whilst runningvsetup.py bdist_wheel for pygame [duplicate]
- Pygame: Draw single pixel
- How to draw images and sprites in pygame?
- How to install PyGame on Python?
- I made a border in this pong game, but the paddles can cross it. How do I stop that?
- Typewriter Effect Pygame
- pygame audio playback speed
- In Pygame, normalizing game-speed across different fps values
- Enemy doesn’t follow player (pygame) [duplicate]
- Python: How to make drawn elements snap to grid in pygame
- What is the best way to Install Conda on MacOS (Apple/Mac)?
- pygame error, No video mode has been set