Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#46 error: python21.dll: No such file or directory for "c" dlls

closed
nobody
None
5
2004-06-01
2004-04-19
Anonymous
No

I am using Python23 with py2exe 0.5.0,

Phyton Script is called MQMACSAdapt.py it uses c
dlls named MQPub.dll, MQSub.dll and millisec.dll.

If I include the c dlls in the same directory as the
python script I get the follwoing error:
*** finding dlls needed ***
error: python21.dll: No such file or directory
please see below.

If I dont include the c dlls in the same directory
then I get other errors, like missing
MQPub.dll, MQSub.dll and millisec.dll. but atleast it
goes farther than before.

Any ideas why py2exe 0.5.0 is asking for
Phyton21.dll?

C:\$User\Projects\SiView\WBS-RWBS\SiView MACS
Adapter\PythonSource>python setup.
py py2exe
running py2exe
creating C:\$User\Projects\SiView\WBS-
RWBS\SiView MACS Adapter\PythonSource\buil
d
creating C:\$User\Projects\SiView\WBS-
RWBS\SiView MACS Adapter\PythonSource\buil
d\bdist.win32
creating C:\$User\Projects\SiView\WBS-
RWBS\SiView MACS Adapter\PythonSource\buil
d\bdist.win32\winexe
creating C:\$User\Projects\SiView\WBS-
RWBS\SiView MACS Adapter\PythonSource\buil
d\bdist.win32\winexe\collect
creating C:\$User\Projects\SiView\WBS-
RWBS\SiView MACS Adapter\PythonSource\buil
d\bdist.win32\winexe\temp
creating C:\$User\Projects\SiView\WBS-
RWBS\SiView MACS Adapter\PythonSource\dist

*** searching for required modules ***
*** parsing results ***
creating python loader for extension '_sre'
creating python loader for extension 'MQPub'
creating python loader for extension 'datetime'
creating python loader for extension 'MQSub'
creating python loader for extension '_socket'
creating python loader for extension '_ssl'
creating python loader for extension 'millisec'
*** finding dlls needed ***
error: python21.dll: No such file or directory

Discussion

  • Thomas Heller
    Thomas Heller
    2004-04-26

    Logged In: YES
    user_id=11105

    It looks like one of the dlls you mention is linked for an
    earlier version of Python (2.1). There is a tool named
    dependencywalker which you can download somewhere, this
    lists the dlls needed by exes/dlls.

     
  • Thomas Heller
    Thomas Heller
    2004-06-01

    • status: open --> closed
     
  • Thomas Heller
    Thomas Heller
    2004-06-01

    Logged In: YES
    user_id=11105

    Closing because no response.