Jump to content


waylans

Member Since 24 Aug 2014
Offline Last Active Sep 05 2014 03:52 AM
-----

Topics I've Started

Pygame

24 August 2014 - 08:00 AM

I have installed Pygame, but Python doesn't, seem to recognize it or it is not installing properly.

I go to the Pygame web site at http://www.pygame.org/download.shtml and download a Windows version of Pygame pygame-1.9.2a0.win32-py3.2.msi.
I then successfully install the Pygame software.

When I run the following simple program and get an error message as shown below. Why? There must be some simple answer.

import pygame.mixer
sounds = pygame.mixer
sounds.init()

Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "C:\Users\wayne\Desktop\MIXER.PY", line 1, in <module>
import pygame.mixer
ImportError: No module named 'pygame'
>>>