Python Forum
[PyGame] Why didn't my installation of pygame work?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Why didn't my installation of pygame work?
#4
If you have Python 3.6 or older the following runstring should work (which downloads from PyPI):
pip install pygame

I get similar errors using Python 3.7 on Windows 10.

I was successful downloading the wheel file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame which is an unofficial URL for unreleased packages (even though Python 3.7 was released a couple of days ago). Download the appropriate version for your computer. My installation runstring was:
pip install pygame-1.9.3-cp37-cp37m-win32.whl
Output:
Processing c:\python\pygame-1.9.3-cp37-cp37m-win32.whl Installing collected packages: pygame Successfully installed pygame-1.9.3
Lewis
To paraphrase: 'Throw out your dead' code. https://www.youtube.com/watch?v=grbSQ6O6kbs Forward to 1:00
Reply


Messages In This Thread
RE: Why didn't my installation of pygame work? - by ljmetzger - Jul-01-2018, 05:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pygame installation problems Gheryk 5 8,836 Nov-29-2023, 08:49 PM
Last Post: E_Mohamed
  (HELP GREATLY APPRECIATED) New user- Huge Pygame Installation Problem! Jbomb 1 2,919 Jan-12-2021, 07:32 PM
Last Post: MK_CodingSpace
  pygame programe don't work abdo20 2 2,358 Mar-27-2020, 02:16 AM
Last Post: samdaly

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020