Problems running on hp dual core processor

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jim-on-linux

    #1

    Problems running on hp dual core processor

    Python help,

    I have a number of clients running a program built with
    python 2.5. One has just purchased an HP with a duel
    core processor, 2.2G with .099g ram.

    On the new hp, when they try to print they get an
    import error;
    File win32ui.pyc line 12, in <module>
    File win32ui.pyc, line 10, in _load
    ImportError: DLL load failed: The specified module
    could not be found.

    The file is there The only difference I could find from
    their other machines is the processor.


  • Mike Driscoll

    #2
    Re: Problems running on hp dual core processor

    On Sep 22, 1:43 pm, jim-on-linux <inq1...@inqvis ta.comwrote:
    Python help,
    >
    I have a number of clients running a program built with
    python 2.5.  One has just purchased an HP with a duel
    core processor,  2.2G with .099g ram.
    >
    On the new hp, when they try to print they get an
    import error;
    File win32ui.pyc line 12, in <module>
    File win32ui.pyc, line 10, in _load
    ImportError: DLL load failed:  The specified module
    could not be found.
    >
    The file is there The only difference I could find from
    their other machines is the processor.
    I have people running my compiled python applications on single and
    dual core processors with no problem. I suspect that you may just need
    to compile your application with some different switches, such as
    bundle=3 in py2exe for example.

    Mike

    Comment

    • Mike Driscoll

      #3
      Re: Problems running on hp dual core processor

      On Sep 22, 1:43 pm, jim-on-linux <inq1...@inqvis ta.comwrote:
      Python help,
      >
      I have a number of clients running a program built with
      python 2.5.  One has just purchased an HP with a duel
      core processor,  2.2G with .099g ram.
      >
      On the new hp, when they try to print they get an
      import error;
      File win32ui.pyc line 12, in <module>
      File win32ui.pyc, line 10, in _load
      ImportError: DLL load failed:  The specified module
      could not be found.
      >
      The file is there The only difference I could find from
      their other machines is the processor.
      I should note that I have had issues if I didn't include all the DLLs
      that were needed. This error doesn't say exactly which DLL is the
      issue. I recommend downloading Dependency Walker to find out what it
      is:

      depends,depends.exe,dependency walker,dependency,walker,dependencies,DLL,EXE,OCX,SYS,import,export,dynamic,implicit,explicit,function,GetProcAddress,LoadLibrary,DllMain,file,found,missing,unresolved,external,version,hook,dumpbin,quickview,quikview,full,path,module,library,procedure,entry,point,windows,win32,utility,tool,application,COM,OLE,VB,Visual,Basic,C++,mangled,decorated,PE,executable,link,compile,initialize,checksum,error,failure,show,reveal


      Mike

      Comment

      • Christian Heimes

        #4
        Re: Problems running on hp dual core processor

        Dennis Lee Bieber wrote:
        Interesting... The only win32ui* on my machine (running v2.4) is a
        win32ui.pyd (D, not C) and it is part of the PythonWin IDE obtained as
        part of the ActiveState installer for windows.
        >
        Oh, and /how much RAM/? ".099g" sounds rather small; my PDA has
        ".5G" of RAM and my desktop machine has 2.0G...
        A .pyd file is a Python dynamic library file. It's a dll with a
        different extension and a Python specific entry point. Dynamic libraries
        are OS and CPU architecture dependent. It might be possible that the
        computer has an incompatible CPU or a 64bit OS.

        Christian

        Comment

        • Miki

          #5
          Re: Problems running on hp dual core processor

          Hello,
          I have a number of clients running a program built with
          python 2.5.  One has just purchased an HP with a duel
          core processor,  2.2G with .099g ram.
          >
          On the new hp, when they try to print they get an
          import error;
          File win32ui.pyc line 12, in <module>
          File win32ui.pyc, line 10, in _load
          ImportError: DLL load failed:  The specified module
          could not be found.
          >
          The file is there The only difference I could find from
          their other machines is the processor.
          Is it the same OS (XP vs Vista ...)?
          Try to run a small script importing win32ui from CMD, it might give
          you a better indication on which DLL is causing the problem.

          As suggested by Mike, run DependecyWalker on win32ui.pyd
          HTH,
          --
          Miki <miki.tebeka@gm ail.com>
          If it won't be simple, it simply won't be. [Hire me, source code]

          Comment

          Working...