IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Py2exe Python Discussion :

Probleme execution .exe sur Windows 2000


Sujet :

Py2exe Python

  1. #1
    Membre régulier
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 78
    Points
    78
    Par défaut Probleme execution .exe sur Windows 2000
    Bonjour a tous,

    Je realise un logiciel sous windows XP pro avec python 2.5 avec:
    -wxpython 2.8.7.1
    -numpy 1.0.4
    -matplotlib 0.91.2
    -py2exe 0.6.6

    Sous windows xp aucun soucis lors de l'utilisation du .exe . Par contre sous des windows 2000 encore recemment ca marché mais maintenant plus du tout, sans aucune raison apparente.

    Voici le fichier interface.exe.log:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    Traceback (most recent call last):
      File "interface.py", line 6, in <module>
      File "zipextimporter.pyo", line 82, in load_module
      File "wx\__init__.pyo", line 45, in <module>
      File "zipextimporter.pyo", line 82, in load_module
      File "wx\_core.pyo", line 4, in <module>
      File "zipextimporter.pyo", line 98, in load_module
    ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd
    Sachant que la ligne 6 du fichier interface.py correpond a "import wx"

    Mes recherche sur google mon rapporter que cette erreur été du a une ou des ne library qui manqué appelé msvcp71.dll et/ou gdiplus.dll .Or ces 2 library sont bien incorporé dans mon .exe (cf mon poste du ci-dessous contenant le resultat de l'execution de setup.py)

  2. #2
    Membre régulier
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 78
    Points
    78
    Par défaut
    Je vous donne le resulat de mon setup.py:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    running py2exe
    *** searching for required modules ***
    *** parsing results ***
    *** finding dlls needed ***
    *** create binaries ***
    *** byte compile python files ***
    writing byte-compilation script 'c:\winnt\temp\tmp4u2wbn.py'
    C:\Python25\python.exe -OO c:\winnt\temp\tmp4u2wbn.py
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\BPI.py to BPI.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\BPI_group.py to BPI_group.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\CheckListBoxDialog.py to CheckListBoxDialog.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\Density_map.py to Density_map.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\Dialog.py to Dialog.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\ImpactPlot_group.py to ImpactPlot_group.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\Impact_plot.py to Impact_plot.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\LCMSfile.py to LCMSfile.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\LCMSmap.py to LCMSmap.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\MapDensity_group.py to MapDensity_group.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\My_grid.py to My_grid.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\Mythread.py to Mythread.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\TIC.py to TIC.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\TIC_group.py to TIC_group.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\frame_interne.py to frame_interne.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\myCursor.py to myCursor.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\mySlider.py to mySlider.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\mySpanSelector.py to mySpanSelector.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\myToolbar.py to myToolbar.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\spectre.py to spectre.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\spectre_group.py to spectre_group.pyo
    skipping byte-compilation of C:\Documents and Settings\ttge_or\workspace2\Servier\summary.py to summary.pyo
    skipping byte-compilation of C:\Python25\Lib\BaseHTTPServer.py to BaseHTTPServer.pyo
    skipping byte-compilation of C:\Python25\Lib\ConfigParser.py to ConfigParser.pyo
    skipping byte-compilation of C:\Python25\Lib\SocketServer.py to SocketServer.pyo
    skipping byte-compilation of C:\Python25\Lib\StringIO.py to StringIO.pyo
    skipping byte-compilation of C:\Python25\Lib\UserDict.py to UserDict.pyo
    skipping byte-compilation of C:\Python25\Lib\_LWPCookieJar.py to _LWPCookieJar.pyo
    skipping byte-compilation of C:\Python25\Lib\_MozillaCookieJar.py to _MozillaCookieJar.pyo
    skipping byte-compilation of C:\Python25\Lib\__future__.py to __future__.pyo
    skipping byte-compilation of C:\Python25\Lib\_strptime.py to _strptime.pyo
    skipping byte-compilation of C:\Python25\Lib\_threading_local.py to _threading_local.pyo
    skipping byte-compilation of C:\Python25\Lib\anydbm.py to anydbm.pyo
    skipping byte-compilation of C:\Python25\Lib\atexit.py to atexit.pyo
    skipping byte-compilation of C:\Python25\Lib\base64.py to base64.pyo
    skipping byte-compilation of C:\Python25\Lib\bdb.py to bdb.pyo
    skipping byte-compilation of C:\Python25\Lib\bisect.py to bisect.pyo
    skipping byte-compilation of C:\Python25\Lib\calendar.py to calendar.pyo
    skipping byte-compilation of C:\Python25\Lib\cmd.py to cmd.pyo
    skipping byte-compilation of C:\Python25\Lib\codecs.py to codecs.pyo
    skipping byte-compilation of C:\Python25\Lib\commands.py to commands.pyo
    skipping byte-compilation of C:\Python25\Lib\cookielib.py to cookielib.pyo
    skipping byte-compilation of C:\Python25\Lib\copy.py to copy.pyo
    skipping byte-compilation of C:\Python25\Lib\copy_reg.py to copy_reg.pyo
    skipping byte-compilation of C:\Python25\Lib\csv.py to csv.pyo
    skipping byte-compilation of C:\Python25\Lib\ctypes\__init__.py to ctypes\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\ctypes\_endian.py to ctypes\_endian.pyo
    skipping byte-compilation of C:\Python25\Lib\curses\__init__.py to curses\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\curses\has_key.py to curses\has_key.pyo
    skipping byte-compilation of C:\Python25\Lib\curses\wrapper.py to curses\wrapper.pyo
    skipping byte-compilation of C:\Python25\Lib\difflib.py to difflib.pyo
    skipping byte-compilation of C:\Python25\Lib\dis.py to dis.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\__init__.py to distutils\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\archive_util.py to distutils\archive_util.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\ccompiler.py to distutils\ccompiler.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\cmd.py to distutils\cmd.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\__init__.py to distutils\command\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\bdist_rpm.py to distutils\command\bdist_rpm.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\build.py to distutils\command\build.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\build_clib.py to distutils\command\build_clib.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\build_ext.py to distutils\command\build_ext.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\build_py.py to distutils\command\build_py.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\build_scripts.py to distutils\command\build_scripts.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\config.py to distutils\command\config.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\install.py to distutils\command\install.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\install_data.py to distutils\command\install_data.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\install_headers.py to distutils\command\install_headers.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\command\sdist.py to distutils\command\sdist.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\core.py to distutils\core.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\debug.py to distutils\debug.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\dep_util.py to distutils\dep_util.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\dir_util.py to distutils\dir_util.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\dist.py to distutils\dist.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\errors.py to distutils\errors.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\extension.py to distutils\extension.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\fancy_getopt.py to distutils\fancy_getopt.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\file_util.py to distutils\file_util.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\filelist.py to distutils\filelist.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\log.py to distutils\log.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\msvccompiler.py to distutils\msvccompiler.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\spawn.py to distutils\spawn.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\sysconfig.py to distutils\sysconfig.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\text_file.py to distutils\text_file.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\unixccompiler.py to distutils\unixccompiler.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\util.py to distutils\util.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\version.py to distutils\version.pyo
    skipping byte-compilation of C:\Python25\Lib\distutils\versionpredicate.py to distutils\versionpredicate.pyo
    skipping byte-compilation of C:\Python25\Lib\doctest.py to doctest.pyo
    skipping byte-compilation of C:\Python25\Lib\dummy_thread.py to dummy_thread.pyo
    skipping byte-compilation of C:\Python25\Lib\dummy_threading.py to dummy_threading.pyo
    skipping byte-compilation of C:\Python25\Lib\email\__init__.py to email\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\email\_parseaddr.py to email\_parseaddr.pyo
    skipping byte-compilation of C:\Python25\Lib\email\base64mime.py to email\base64mime.pyo
    skipping byte-compilation of C:\Python25\Lib\email\charset.py to email\charset.pyo
    skipping byte-compilation of C:\Python25\Lib\email\encoders.py to email\encoders.pyo
    skipping byte-compilation of C:\Python25\Lib\email\errors.py to email\errors.pyo
    skipping byte-compilation of C:\Python25\Lib\email\feedparser.py to email\feedparser.pyo
    skipping byte-compilation of C:\Python25\Lib\email\message.py to email\message.pyo
    skipping byte-compilation of C:\Python25\Lib\email\mime\__init__.py to email\mime\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\email\parser.py to email\parser.pyo
    skipping byte-compilation of C:\Python25\Lib\email\quoprimime.py to email\quoprimime.pyo
    skipping byte-compilation of C:\Python25\Lib\email\utils.py to email\utils.pyo
    skipping byte-compilation of C:\Python25\Lib\encodings\__init__.py to encodings\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\encodings\aliases.py to encodings\aliases.pyo
    skipping byte-compilation of C:\Python25\Lib\encodings\cp1252.py to encodings\cp1252.pyo
    skipping byte-compilation of C:\Python25\Lib\fileinput.py to fileinput.pyo
    skipping byte-compilation of C:\Python25\Lib\fnmatch.py to fnmatch.pyo
    skipping byte-compilation of C:\Python25\Lib\formatter.py to formatter.pyo
    skipping byte-compilation of C:\Python25\Lib\ftplib.py to ftplib.pyo
    skipping byte-compilation of C:\Python25\Lib\getopt.py to getopt.pyo
    skipping byte-compilation of C:\Python25\Lib\getpass.py to getpass.pyo
    skipping byte-compilation of C:\Python25\Lib\gettext.py to gettext.pyo
    skipping byte-compilation of C:\Python25\Lib\glob.py to glob.pyo
    skipping byte-compilation of C:\Python25\Lib\gopherlib.py to gopherlib.pyo
    skipping byte-compilation of C:\Python25\Lib\gzip.py to gzip.pyo
    skipping byte-compilation of C:\Python25\Lib\hashlib.py to hashlib.pyo
    skipping byte-compilation of C:\Python25\Lib\heapq.py to heapq.pyo
    skipping byte-compilation of C:\Python25\Lib\htmlentitydefs.py to htmlentitydefs.pyo
    skipping byte-compilation of C:\Python25\Lib\htmllib.py to htmllib.pyo
    skipping byte-compilation of C:\Python25\Lib\httplib.py to httplib.pyo
    skipping byte-compilation of C:\Python25\Lib\inspect.py to inspect.pyo
    skipping byte-compilation of C:\Python25\Lib\lib-tk\FixTk.py to FixTk.pyo
    skipping byte-compilation of C:\Python25\Lib\lib-tk\Tkconstants.py to Tkconstants.pyo
    skipping byte-compilation of C:\Python25\Lib\lib-tk\Tkinter.py to Tkinter.pyo
    skipping byte-compilation of C:\Python25\Lib\linecache.py to linecache.pyo
    skipping byte-compilation of C:\Python25\Lib\locale.py to locale.pyo
    skipping byte-compilation of C:\Python25\Lib\logging\__init__.py to logging\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\macpath.py to macpath.pyo
    skipping byte-compilation of C:\Python25\Lib\macurl2path.py to macurl2path.pyo
    skipping byte-compilation of C:\Python25\Lib\markupbase.py to markupbase.pyo
    skipping byte-compilation of C:\Python25\Lib\md5.py to md5.pyo
    skipping byte-compilation of C:\Python25\Lib\mimetools.py to mimetools.pyo
    skipping byte-compilation of C:\Python25\Lib\mimetypes.py to mimetypes.pyo
    skipping byte-compilation of C:\Python25\Lib\new.py to new.pyo
    skipping byte-compilation of C:\Python25\Lib\ntpath.py to ntpath.pyo
    skipping byte-compilation of C:\Python25\Lib\nturl2path.py to nturl2path.pyo
    skipping byte-compilation of C:\Python25\Lib\opcode.py to opcode.pyo
    skipping byte-compilation of C:\Python25\Lib\optparse.py to optparse.pyo
    skipping byte-compilation of C:\Python25\Lib\os.py to os.pyo
    skipping byte-compilation of C:\Python25\Lib\os2emxpath.py to os2emxpath.pyo
    skipping byte-compilation of C:\Python25\Lib\pdb.py to pdb.pyo
    skipping byte-compilation of C:\Python25\Lib\pickle.py to pickle.pyo
    skipping byte-compilation of C:\Python25\Lib\pkgutil.py to pkgutil.pyo
    skipping byte-compilation of C:\Python25\Lib\popen2.py to popen2.pyo
    skipping byte-compilation of C:\Python25\Lib\posixpath.py to posixpath.pyo
    skipping byte-compilation of C:\Python25\Lib\pprint.py to pprint.pyo
    skipping byte-compilation of C:\Python25\Lib\py_compile.py to py_compile.pyo
    skipping byte-compilation of C:\Python25\Lib\pydoc.py to pydoc.pyo
    skipping byte-compilation of C:\Python25\Lib\quopri.py to quopri.pyo
    skipping byte-compilation of C:\Python25\Lib\random.py to random.pyo
    skipping byte-compilation of C:\Python25\Lib\re.py to re.pyo
    skipping byte-compilation of C:\Python25\Lib\repr.py to repr.pyo
    skipping byte-compilation of C:\Python25\Lib\rfc822.py to rfc822.pyo
    skipping byte-compilation of C:\Python25\Lib\sets.py to sets.pyo
    skipping byte-compilation of C:\Python25\Lib\sgmllib.py to sgmllib.pyo
    skipping byte-compilation of C:\Python25\Lib\shelve.py to shelve.pyo
    skipping byte-compilation of C:\Python25\Lib\shlex.py to shlex.pyo
    skipping byte-compilation of C:\Python25\Lib\shutil.py to shutil.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\__init__.py to dateutil\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\easter.py to dateutil\easter.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\parser.py to dateutil\parser.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\relativedelta.py to dateutil\relativedelta.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\rrule.py to dateutil\rrule.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\tz.py to dateutil\tz.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\tzwin.py to dateutil\tzwin.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\dateutil\zoneinfo\__init__.py to dateutil\zoneinfo\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\__init__.py to enthought\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\etsconfig\__init__.py to enthought\etsconfig\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\etsconfig\api.py to enthought\etsconfig\api.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\etsconfig\etsconfig.py to enthought\etsconfig\etsconfig.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\etsconfig\version.py to enthought\etsconfig\version.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\__init__.py to enthought\traits\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\api.py to enthought\traits\api.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\category.py to enthought\traits\category.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\has_traits.py to enthought\traits\has_traits.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\info_traits.py to enthought\traits\info_traits.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\trait_base.py to enthought\traits\trait_base.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\trait_db.py to enthought\traits\trait_db.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\trait_errors.py to enthought\traits\trait_errors.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\trait_handlers.py to enthought\traits\trait_handlers.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\trait_notifiers.py to enthought\traits\trait_notifiers.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\trait_numeric.py to enthought\traits\trait_numeric.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\traits.py to enthought\traits\traits.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\__init__.py to enthought\traits\ui\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\api.py to enthought\traits\ui\api.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\dockable_view_element.py to enthought\traits\ui\dockable_view_element.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\editor.py to enthought\traits\ui\editor.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\editor_factory.py to enthought\traits\ui\editor_factory.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\editors.py to enthought\traits\ui\editors.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\group.py to enthought\traits\ui\group.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\handler.py to enthought\traits\ui\handler.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\help.py to enthought\traits\ui\help.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\help_template.py to enthought\traits\ui\help_template.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\helper.py to enthought\traits\ui\helper.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\include.py to enthought\traits\ui\include.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\item.py to enthought\traits\ui\item.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\menu.py to enthought\traits\ui\menu.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\message.py to enthought\traits\ui\message.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\table_column.py to enthought\traits\ui\table_column.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\table_filter.py to enthought\traits\ui\table_filter.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\toolkit.py to enthought\traits\ui\toolkit.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\tree_node.py to enthought\traits\ui\tree_node.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\ui.py to enthought\traits\ui\ui.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\ui_info.py to enthought\traits\ui\ui_info.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\ui_traits.py to enthought\traits\ui\ui_traits.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\undo.py to enthought\traits\ui\undo.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\view.py to enthought\traits\ui\view.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\view_element.py to enthought\traits\ui\view_element.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\ui\view_elements.py to enthought\traits\ui\view_elements.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\enthought\traits\version.py to enthought\traits\version.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\numpy\version.py to numpy\version.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\pylab.py to pylab.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\pytz\__init__.py to pytz\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\pytz\tzfile.py to pytz\tzfile.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\pytz\tzinfo.py to pytz\tzinfo.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py to wx\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__version__.py to wx\__version__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py to wx\_controls.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py to wx\_core.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py to wx\_gdi.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_misc.py to wx\_misc.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_windows.py to wx\_windows.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\grid.py to wx\grid.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\__init__.py to wx\lib\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\editor\__init__.py to wx\lib\editor\__init__.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\editor\editor.py to wx\lib\editor\editor.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\editor\images.py to wx\lib\editor\images.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\editor\selection.py to wx\lib\editor\selection.pyo
    skipping byte-compilation of C:\Python25\Lib\site-packages\zipextimporter.py to zipextimporter.pyo
    skipping byte-compilation of C:\Python25\Lib\socket.py to socket.pyo
    skipping byte-compilation of C:\Python25\Lib\sre.py to sre.pyo
    skipping byte-compilation of C:\Python25\Lib\sre_compile.py to sre_compile.pyo
    skipping byte-compilation of C:\Python25\Lib\sre_constants.py to sre_constants.pyo
    skipping byte-compilation of C:\Python25\Lib\sre_parse.py to sre_parse.pyo
    skipping byte-compilation of C:\Python25\Lib\stat.py to stat.pyo
    skipping byte-compilation of C:\Python25\Lib\string.py to string.pyo
    skipping byte-compilation of C:\Python25\Lib\struct.py to struct.pyo
    skipping byte-compilation of C:\Python25\Lib\subprocess.py to subprocess.pyo
    skipping byte-compilation of C:\Python25\Lib\tarfile.py to tarfile.pyo
    skipping byte-compilation of C:\Python25\Lib\tempfile.py to tempfile.pyo
    skipping byte-compilation of C:\Python25\Lib\textwrap.py to textwrap.pyo
    skipping byte-compilation of C:\Python25\Lib\threading.py to threading.pyo
    skipping byte-compilation of C:\Python25\Lib\token.py to token.pyo
    skipping byte-compilation of C:\Python25\Lib\tokenize.py to tokenize.pyo
    skipping byte-compilation of C:\Python25\Lib\traceback.py to traceback.pyo
    skipping byte-compilation of C:\Python25\Lib\tty.py to tty.pyo
    skipping byte-compilation of C:\Python25\Lib\types.py to types.pyo
    skipping byte-compilation of C:\Python25\Lib\unittest.py to unittest.pyo
    skipping byte-compilation of C:\Python25\Lib\urllib.py to urllib.pyo
    skipping byte-compilation of C:\Python25\Lib\urllib2.py to urllib2.pyo
    skipping byte-compilation of C:\Python25\Lib\urlparse.py to urlparse.pyo
    skipping byte-compilation of C:\Python25\Lib\uu.py to uu.pyo
    skipping byte-compilation of C:\Python25\Lib\warnings.py to warnings.pyo
    skipping byte-compilation of C:\Python25\Lib\weakref.py to weakref.pyo
    skipping byte-compilation of C:\Python25\Lib\webbrowser.py to webbrowser.pyo
    skipping byte-compilation of C:\Python25\Lib\whichdb.py to whichdb.pyo
    skipping byte-compilation of C:\Python25\Lib\zipfile.py to zipfile.pyo
    removing c:\winnt\temp\tmp4u2wbn.py
    *** copy extensions ***
    *** copy dlls ***
    *** copy data files ***
    copying C:\Python25\Lib\site-packages\py2exe\run_w.exe -> C:\Documents and Settings\ttge_or\workspace2\Servier\dist\interface.exe
    Adding python25.dll as resource to C:\Documents and Settings\ttge_or\workspace2\Servier\dist\interface.exe
    The following modules appear to be missing
    ['PyQt4', 'Pyrex.Compiler.Main', '_curses', '_wxagg', 'backends.draw_if_interactive', 'backends.new_figure_manager'
    , 'backends.show', 'cephes', 'config.mplConfig', 'config.rcParams', 'config.rcdefaults', 'config.save_config', 'configobj'
    , 'core.abs', 'core.max', 'core.min', 'core.round', 'dotblas', 'email.Generator', 'email.Iterators', 'email.Utils'
    , 'enthought.pyface.action.api', 'enthought.pyface.dock.core', 'enthought.pyface.dock.idockable'
    , 'enthought.pyface.grid.grid_cell_renderer', 'enthought.resource.api', 'enthought.traits.ui.wx.ui_debug_editor', 
    'fcompiler.FCompiler', 'fcompiler.show_fcompilers', 'lib.add_newdoc', 'maskedarray', 'mlab.amax', 'mlab.amin', 'numarray', 
    'numarray.convolve', 'numarray.fft', 'numarray.ieeespecial', 'numarray.linear_algebra', 'numarray.linear_algebra.mlab', 
    'numarray.ma', 'numarray.numeric', 'numarray.random_array', 'numpy.dft.old', 'numpy.lib.mlab', 'numpy.linalg.old', 
    'pkg_resources', 'pyemf', 'setuptools', 'setuptools.command', 'setuptools.command.bdist_rpm', 'setuptools.command.egg_info', 
    'setuptools.command.install', 'setuptools.command.sdist', 'testing.NumpyTest', 'testing.ScipyTest', 'win32api', 'win32con', 
    'win32pdh', 'numpy.Complex', 'numpy.Complex32', 'numpy.Complex64', 'numpy.Float', 'numpy.Float32', 'numpy.Float64', 'numpy.Int',
     'numpy.Int16', 'numpy.Int32', 'numpy.Int8', 'numpy.UInt16', 'numpy.UInt32', 'numpy.UInt8', 'numpy.absolute', 'numpy.arccos', 
    'numpy.arccosh', 'numpy.arcsin', 'numpy.arcsinh', 'numpy.arctan', 'numpy.arctanh', 'numpy.bitwise_and', 'numpy.bitwise_or', 
    'numpy.bitwise_xor', 'numpy.ceil', 'numpy.conjugate', 'numpy.core.absolute', 'numpy.core.add', 'numpy.core.bitwise_and', 
    'numpy.core.bitwise_or', 'numpy.core.bitwise_xor', 'numpy.core.cdouble', 'numpy.core.complexfloating', 'numpy.core.conjugate', 
    'numpy.core.csingle', 'numpy.core.divide', 'numpy.core.double', 'numpy.core.equal', 'numpy.core.float64', 'numpy.core.greater', 
    'numpy.core.greater_equal', 'numpy.core.inexact', 'numpy.core.intc', 'numpy.core.invert', 'numpy.core.isfinite', 
    'numpy.core.left_shift', 'numpy.core.less', 'numpy.core.less_equal', 'numpy.core.maximum', 'numpy.core.multiply', 
    'numpy.core.not_equal', 'numpy.core.power', 'numpy.core.remainder', 'numpy.core.right_shift', 'numpy.core.sin', 
    'numpy.core.single', 'numpy.core.sqrt', 'numpy.core.subtract', 'numpy.cosh', 'numpy.divide', 'numpy.e', 'numpy.fabs', 
    'numpy.floor', 'numpy.floor_divide', 'numpy.fmod', 'numpy.greater', 'numpy.hypot', 'numpy.invert', 'numpy.left_shift', 
    'numpy.less', 'numpy.log', 'numpy.logical_and', 'numpy.logical_not', 'numpy.logical_or', 'numpy.logical_xor', 'numpy.maximum', 
    'numpy.minimum', 'numpy.negative', 'numpy.not_equal', 'numpy.power', 'numpy.random.rand', 'numpy.random.randn', 
    'numpy.remainder', 'numpy.right_shift', 'numpy.sign', 'numpy.sinh', 'numpy.tan', 'numpy.tanh', 'numpy.true_divide', 'wx.ProgressDialog']
    *** binary dependencies ***
    Your executable(s) also depend on these dlls which are not included,
    you may or may not need to distribute them.
    Make sure you have the license if you distribute any of them, and
    make sure you don't distribute files belonging to the operating system.
       OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
       USER32.dll - C:\WINDOWS\system32\USER32.dll
       IMM32.dll - C:\WINDOWS\system32\IMM32.dll
       SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
       ole32.dll - C:\WINDOWS\system32\ole32.dll
       comdlg32.dll - C:\WINDOWS\system32\comdlg32.dll
       WSOCK32.dll - C:\WINDOWS\system32\WSOCK32.dll
       COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll
       ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
       GDI32.dll - C:\WINDOWS\system32\GDI32.dll
       ranlib.pyd - C:\Python25\lib\site-packages\Numeric\ranlib.pyd
       MSVCP71.dll - C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\MSVCP71.dll
       WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
       MSVCP71.dll - C:\WINDOWS\system32\MSVCP71.dll
       WINMM.dll - C:\WINDOWS\system32\WINMM.dll
       KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
       msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
       gdiplus.dll - C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll
       RPCRT4.dll - C:\WINDOWS\system32\RPCRT4.dll

  3. #3
    Membre régulier
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 78
    Points
    78
    Par défaut
    Je vous donne aussi mon setup.py:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    from distutils.core import setup
    import py2exe
    import sys
    import wx
    from wx import *
    import wx._core_
    import wx.__init__
     # We need to import the glob module to search for all files.
    import glob
    import Scientific.IO.NetCDF
     
    if len(sys.argv)==1:
        sys.argv.append("py2exe")
     
    # We need to exclude matplotlib backends not being used by this executable.  You may find
    # that you need different excludes to create a working executable with your chosen backend.
    # We also need to include include various numerix libraries that the other functions call.
     
    opts = {
         'py2exe': { "includes" : [ "matplotlib.backends",  "matplotlib.backends.backend_qt4agg",
                                    "matplotlib.figure","pylab", "numpy", "matplotlib.numerix.fft",
                                    "matplotlib.numerix.linear_algebra", "matplotlib.numerix.random_array",
                                    "matplotlib.backends.backend_wxagg",'Scientific_netcdf',"psyco","wx" ],
                     'excludes': ['_gtkagg', '_tkagg', '_agg2', '_cairo', '_cocoaagg',
                                  '_fltkagg', '_gtk', '_gtkcairo'],
                     'dll_excludes': ['libgdk-win32-2.0-0.dll',
                                      'libgobject-2.0-0.dll'],
                    'compressed' : 1 ,'optimize': 2, "ascii" : 1, "bundle_files" :1,
                    "packages" : "wx"
                   }
            }
     
    # Save matplotlib-data to mpl-data ( It is located in the matplotlib\mpl-data
    # folder and the compiled programs will look for it in \mpl-data
    # note: using matplotlib.get_mpldata_info
    data_files = [(r'mpl-data', glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\*.*')),
                         # Because matplotlibrc does not have an extension, glob does not find it (at least I think 
     
    that's why)
                         # So add it manually here:
                       (r'mpl-data', [r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\matplotlibrc']),
     
     
    (r'mpl-data\images',glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\images\*.*')),
                       (r'mpl-data\fonts',glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\fonts\*.*')),
                       (r'Scientific_netcdf',glob.glob(r'C:\Python25\Lib\site-packages\Scientific\IO\*')),
                       (r'psyco',glob.glob(r'C:\Python25\Lib\site-packages\psyco\*')),
                       ]
     
    # for console program use 'console = [{"script" : "scriptname.py"}]
    setup(name="Explorer netcdf",version="1.0",description="Explorer NetCDF",author="titi",windows=[{"script" : 
     
    "interface.py"}], options=opts,   data_files=data_files, zipfile=None)

  4. #4
    Membre régulier
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 78
    Points
    78
    Par défaut
    Le probleme était que je devais rajouté dans le repertoire contenant le .exe les librairie si dessous:
    OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
    USER32.dll - C:\WINDOWS\system32\USER32.dll
    IMM32.dll - C:\WINDOWS\system32\IMM32.dll
    SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
    ole32.dll - C:\WINDOWS\system32\ole32.dll
    comdlg32.dll - C:\WINDOWS\system32\comdlg32.dll
    WSOCK32.dll - C:\WINDOWS\system32\WSOCK32.dll
    COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll
    ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
    GDI32.dll - C:\WINDOWS\system32\GDI32.dll
    ranlib.pyd - C:\Python25\lib\site-packages\Numeric\ranlib.pyd
    MSVCP71.dll - C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\MSVCP71.dll
    WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
    MSVCP71.dll - C:\WINDOWS\system32\MSVCP71.dll
    WINMM.dll - C:\WINDOWS\system32\WINMM.dll
    KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
    msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
    gdiplus.dll - C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll
    RPCRT4.dll - C:\WINDOWS\system32\RPCRT4.dll

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. pb d'installation d'Oracle 9 sur windows 2000
    Par condor dans le forum Oracle
    Réponses: 1
    Dernier message: 14/12/2006, 11h40
  2. pb d'installation d'Oracle 9 sur windows 2000
    Par condor dans le forum Oracle
    Réponses: 1
    Dernier message: 14/06/2006, 14h28
  3. Probleme de connection sur windows xp dans un domaine
    Par nemo69500 dans le forum Windows XP
    Réponses: 10
    Dernier message: 12/04/2006, 10h36
  4. Comment avoir le WiFI sur WINDOWS 2000?
    Par chevy dans le forum Windows Serveur
    Réponses: 6
    Dernier message: 07/03/2006, 14h50
  5. installation de xmlrad2005 sur windows 2000
    Par emchakes dans le forum XMLRAD
    Réponses: 9
    Dernier message: 21/11/2005, 22h14

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo