Help again: py2exe and win98

Utente prova at qui.com
Sun Apr 28 05:46:19 EDT 2002


I'm playing with python 2.2 and py2exe.
It works on a Windows XP system, generating the executable i need (except a
problem i posted in another message) but when i try to do the same thing on
a win 98 system (same files, same installations, same PYTHONPATH) it fails,
saying:

>changing back to 'C:\dati\Python\PrimaNota'
>creating dist\SMPNotaMain\SMPNotaMain.exe
>Traceback (most recent call last):
>  File "setup-exe.py", line 10, in ?
>    scripts = ['SMPNotaMain.pyw'])
>  File "C:\PYTHON22\lib\distutils\core.py", line 138, in setup
>    dist.run_commands()
>  File "C:\PYTHON22\lib\distutils\dist.py", line 893, in run_commands
>    self.run_command(cmd)
>  File "C:\PYTHON22\lib\distutils\dist.py", line 913, in run_command
>    cmd_obj.run()
>  File "C:\PYTHON22\Lib\site-packages\py2exe\build_exe.py", line 589, in
run
>    self.create_exe(exe_name, arcname, use_runw)
>  File "C:\PYTHON22\Lib\site-packages\py2exe\build_exe.py", line 799, in
create_
>exe
>    delete = self.add_versioninfo(exe_name, delete)
>  File "C:\PYTHON22\Lib\site-packages\py2exe\build_exe.py", line 844, in
add_ver
>sioninfo
>    add_resource(exe_name, str(vr), RT_VERSION, 1, delete)
>RuntimeError: BeginUpdateResource: La funzione Þ valida soltanto in
modalitÓ Win
>32.
>
>C:\dati\Python\PrimaNota

Where "La funzione è valida soltanto in modalità Win32" is the italian for
something like "The function is valid only in Win32 mode".
Windows 98 is not a win 32 system???

Thanks in advance again, Max





More information about the Python-list mailing list