Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sveco opened this issue Dec 10, 2018 · 0 comments
Open

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

sveco opened this issue Dec 10, 2018 · 0 comments

Comments

@sveco
Copy link

sveco commented Dec 10, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant