Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
import pygame
pygame.init()
#result:
Traceback (most recent call last):
File "C:\Users\ESCA\Documents\python\TesT(for anything you wish).py", line 1, in <module>
import pygame
File "C:\python\pygame\__init__.py", line 95, in <module>
from pygame.base import *
ImportError: DLL load failed: The specified module could not be found.

What I have tried:

I treid installing all the pygame versions in the following link:
"http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame"
I treid installing the source for windows in the
following link:
"http://pygame.org/download.shtml"
I treid putting the all the pygame versions inone file
and put it in the python file.
Posted
Updated 6-Feb-17 6:43am

1 solution

The specified module could not be found.
The error message is quite clear, the python interpreter cannot find the import. See Glossary — Python 3.4.5 documentation[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900