Le 27/06/06, Christophe Gaubert <[EMAIL PROTECTED]> a
écrit :
 
> $ python setupabc.py
> Traceback (most recent call last):
>   File "setupabc.py", line 3, in ?
>     import py2exe
> ImportError: No module named py2exe

En plus, si on regarde sur le web :
«La bibliothèque py2exe permet de générer sous Windows des éxécutables
à partir d'un source Python.» O_o

> $ python abc.py
> Traceback (most recent call last):
>   File "abc.py", line 2, in ?
>     from wxPython.wx import *
> ImportError: No module named
> wxPython.wx
> 
> Pour le deuxième, je ne sais pas ce qu'il lui faut, j'ai installé
> wxPython et ça n'a rien changé. 

OK, j'ai installé wxPythonGTK et c'est allé plus loin, mais pas bien
plus :

$ python abc.py
Traceback (most recent call last):
  File "abc.py", line 967, in ?
    run([""], abcpath)
  File "abc.py", line 959, in run
    app = ABCApp(0, params, single_instance_checker, abcpath)
  File "abc.py", line 928, in __init__
    wxApp.__init__(self, x)
  File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7473, in __init__ self._BootstrapApp() File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7125, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args,
**kwargs) File "abc.py", line 932, in OnInit self.params, self.abcpath)
  File "abc.py", line 697, in __init__
    if (sys.platform == 'win32'):
NameError: global name 'sys' is not defined


-- 
Christophe Gaubert
http://ch4tn01r.free.fr/blog
Participez à la liste Avis de citoyens :
http://fr.groups.yahoo.com/group/Avis_de_citoyens/
=========================================
Vous souhaitez acquerir votre Pack ou des Services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club mandrake : http://www.mandrivaclub.com
=========================================

Répondre à