I have only one, the following line in my program from _winreg import * When I run it from PythonWin program( under windows) it works normally. But when I try to run it from command line ( console) like python MyProgram.py I will get the error from _winreg import * ImportError: DLL load failed: The specified module could not be found. How can I solve the problem?