Menu

ExcelPython27.dll File not found

Doug Daly
2014-03-30
2014-03-30
  • Doug Daly

    Doug Daly - 2014-03-30

    Hello, This seems like an awesome tool I'd really like to use. The issue I'm having is once I install it I get the file not found error in Excel. I'm running Excel x64 on Windows 7 x64, with Python x64 v 2.7.6

    I also ran dependency walker on the DLL file and got these missing DLL's:

    API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
    API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
    API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL
    DCOMP.DLL
    GPSVC.DLL
    IESHIMS.DLL

    With this error message:

    Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
    Error: Modules with different CPU types were found.
    Warning: At least one delay-load dependency module was not found.
    Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

    I saw something somewhere on StackOverflow that someone who had this error managed to fix it by removing the VS2010 redistributables and installing the Win 7 SDK. Did that, still getting the issues.

    Any ideas? I'd love to use this instead of having to code all the functions (plus math helper functions) in C++...

     

    Last edit: Doug Daly 2014-03-30
    • Eric Reynolds

      Eric Reynolds - 2014-03-30

      Hi,

      Those DLLs are not the problem, those always seem to be missing.

      The issue seems to derive from the wrong Python27.dll file being loaded
      because more than one is present on the system. Try running where python27.dll (or maybe it's which) to see if this is the case (I gave
      instructions on another post pls look for it)

      Rgds,
      Eric

       
      • Doug Daly

        Doug Daly - 2014-03-30

        Thanks, I have been using Enthought Canopy which seems to have its own self-contained version of Python installed. I installed Python system-wide and it's working. Thanks and thanks for the great software!

         
  • Doug Daly

    Doug Daly - 2014-03-30

    I also tried downloading the DLL in this thread: https://sourceforge.net/p/excelpython/discussion/general/thread/a6ffd1cc/ And putting it in the System32 directory. I get:

    Microsoft Visual Basic for Applications
    Compile error: Sub or Function not defined

    I've tried copying the DLL's that the installer puts in the SysWOW64 dir into the System32 Dir - still get either the above error or "Can't find ExcelPython27.dll" error.

     

    Last edit: Doug Daly 2014-03-30

Log in to post a comment.