(Jun-12-2018, 11:54 PM)metulburr Wrote:Quote:pygame-1.9.2a0.win32-py2.7the name of the pygame file tells you details about it. Its pygame 1.9.2a0 for windows 32 bit and python 2.7
You need the 3.7 one.
I would get it from here
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
the second to last one entitled
pygame‑1.9.3‑cp37‑cp37m‑win32.whl
Thanks metulburr. I tried that but I am getting the following. Any idea what I need to do to fix this?
C:\>py -3.7 -m pip install pygame-1.9.3-cp37-cp37m-win32
Collecting pygame-1.9.3-cp37-cp37m-win32
Could not find a version that satisfies the requirement pygame-1.9.3-cp37-cp37m-win32 (from versions: )
No matching distribution found for pygame-1.9.3-cp37-cp37m-win32
Ok I got pygame3.7 installed but when I try to run a module with import pygame I am getting:
Exception in thread "main" File "C:\Users\HongZ\AppData\Local\Programs\Python\Python37-32\Lib\site.py", line 177
file=sys.stderr)
^
SyntaxError: no viable alternative at input '='
Any idea?