[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] install problem



You need to install the version of pygame for python 3.3. The one you installed is for python 2.7.

On Jun 14, 2013 12:23 PM, "David" <dvp1964@xxxxxxxxx> wrote:
On my windows 7 PC, I installed Python 3.3.2 Windows x86 MSI Installer

Then I got pygame-1.9.1.win32-py2.7.msi

During the install of pygame it wanted to know where python was installed so I put in C:\Python33\ which is correct.

Then I read  to check that Pygame is install correctly, type the following into the interactive shell:

>>> import pygame



and got this:

Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import pygame
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import pygame
  File "C:\Python33\lib\site-packages\pygame\__init__.py", line 95, in <module>
    from pygame.base import *
ImportError: DLL load failed: The specified module could not be found.
>>> 

Why did it fail?


--
David
Running Linux since 1994