Problem

Discussion in 'Python' started by Lad, Aug 17, 2004.

  1. Lad

    Lad Guest

    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?
    Lad, Aug 17, 2004
    #1
    1. Advertising

  2. Lad

    Peter Hansen Guest

    Lad wrote:

    > 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
    Peter Hansen, Aug 17, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Suurkuusk
    Replies:
    0
    Views:
    3,942
    Andreas Suurkuusk
    Jul 27, 2003
  2. Ted Miller
    Replies:
    0
    Views:
    5,133
    Ted Miller
    Sep 13, 2003
  3. Merek
    Replies:
    0
    Views:
    1,937
    Merek
    Dec 3, 2003
  4. Scott Meddows
    Replies:
    1
    Views:
    375
    John Saunders
    Jun 8, 2004
  5. Mike

    Problem problem problem :( Need Help

    Mike, May 7, 2004, in forum: ASP General
    Replies:
    2
    Views:
    521
    Bullschmidt
    May 11, 2004
Loading...

Share This Page