Pygame won't import to python

11,803

It means that you need to look at pygame\base.pyd in Dependency Walker and see which DLL it can't find.

Share:
11,803
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin almost 2 years

    When i type import pygame, i get an error that reads:

    Traceback (most recent call last):
      File "<pyshell#0>", line 1, in <module>
        import pygame
      File "C:\Python27\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.
    >>> 
    

    Does anybody know what this means?