Problem

L

Lad

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?
 
P

Peter Hansen

Lad said:
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.

Can you cut and paste into another posting the full traceback,
including the command you actually used to run the program?

-Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top