Jump to content


Photo

Pygame


  • Please log in to reply
No replies to this topic

#1 waylans

waylans

    New Member

  • Members
  • Pip
  • 1 posts

Posted 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'
>>>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users