Skip to content

The readme.md description how to build own exe does not work #191

@sveco

Description

@sveco

Please update to latest py2exe version and verify if you can really build on new machine.

  • 1st error py2exe version referred in requirements.txt is not available.
  • 2nd error pywin32 version referred in requirements.txt is not available.
  • 3rd error when running py2exe via buildexe.py, error :
    running py2exe
    Traceback (most recent call last):
    File "C:\Users\XXXX\Source\Repos\twine\buildexe.py", line 97, in
    zipfile = 'library.zip',
    File "C:\Python37-32\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
    File "C:\Python37-32\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
    File "C:\Python37-32\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
    File "C:\Python37-32\lib\site-packages\py2exe\distutils_buildexe.py", line 188, in run
    self._run()
    File "C:\Python37-32\lib\site-packages\py2exe\distutils_buildexe.py", line 267, in _run
    builder.analyze()
    File "C:\Python37-32\lib\site-packages\py2exe\runtime.py", line 160, in analyze
    self.mf.import_hook(modname)
    File "C:\Python37-32\lib\site-packages\py2exe\mf3.py", line 120, in import_hook
    module = self._gcd_import(name)
    File "C:\Python37-32\lib\site-packages\py2exe\mf3.py", line 274, in _gcd_import
    return self._find_and_load(name)
    File "C:\Python37-32\lib\site-packages\py2exe\mf3.py", line 357, in _find_and_load
    self._scan_code(module.code, module)
    File "C:\Python37-32\lib\site-packages\py2exe\mf3.py", line 388, in _scan_code
    for what, args in self._scan_opcodes(code):
    File "C:\Python37-32\lib\site-packages\py2exe\mf3.py", line 417, in _scan_opcodes
    yield "store", (names[oparg],)
    IndexError: tuple index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions