Python: Having trouble getting pygame to work. on PC -
when use tutorial.
import pygame pygame.init() black = ( 0, 0, 0) white = ( 255, 255, 255) green = ( 0, 255, 0) red = ( 255, 0, 0) size=[700,500] screen=pygame.display.set_mode(size) pygame.display.set_caption("jons cool game") i error:
traceback (most recent call last): file "c:\users\jonathan\desktop\pygame\example.py", line 2, in <module> import pygame importerror: no module named 'pygame' i'm using v3.3.1 , pygame 3.3.
according importerror not have pygame installed python 3.3.
on pygame's website there no 3.3 version. suggest use python 3.2 , download corresponding pygame version pygame.org
Comments
Post a Comment