Running Python 3.3.0 (Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32)
Installed Python 3.2 pygame-1.9.2a0
All under Windows 7 Enterprise with SP1
pygame installer: pygame-1.9.2a0.win32-py3.2.msi
Error: >>> 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.
1. Verified base.pyd located in C:\Python33\Lib\site-packages\pygame
1a. Verified 'C:\\Python33\\lib\\site-packages' in path
>>> sys.path
['', 'C:\\Python33\\Lib\\idlelib', 'C:\\Python32', 'C:\\Users\\<redacted>\\Documents\\Python', 'C:\\Users\\<redacted>\\Documents\\Python\\FW', 'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages']
2. Commented out "from pygame.base import *" in __init__.py (assumed problem with the file). Results: "from pygame.constants import *" load failed with same error message.
3. Copied base.pyd to C:\Python33\DLLs, assuming subtle path error. No joy.
4. Added specific path to pygame site package (again - No joy.)
>>> sys.path.append('C:\\Python33\\lib\\site-packages\\pygame')
>>> sys.path
['', 'C:\\Python33\\Lib\\idlelib', 'C:\\Python32', 'C:\\Users\\O8992\\Documents\\Python', 'C:\\Users\\O8992\\Documents\\Python\\FW', 'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages', 'C:\\Python33\\lib\\site-packages\\pygame']
5. User <redacted> is a member of the Administrators group.
6. Found posts where directory and or file permissions may be a culprit. Explicitly defined <redacted> with Full Control on both base.pyd and on each directory up to C:\\Python33 - again, no joy.
We are heavily GPO'ed so I am assuming there's something in a policy somewhere that's causing this. I will try this on my home machine (Windows 7 Home) and see what happens there. But, if you've any insight on what the.... what's going on, I would be much obliged. This has been driving me nutzoid all bloody day.











