Python Forum
Pyinstaller Maximum recursion bug
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyinstaller Maximum recursion bug
#9
For anyone else who stumbles across this: I had to add the modules in the spec file pyinstaller created because the file itself calling them was not enough.

In spyder I used the console to run: ! pyinstaller yield.spec

here is what the spec file looks like:

# -*- mode: python ; coding: utf-8 -*-
import sys

sys.setrecursionlimit(sys.getrecursionlimit() * 500)

a = Analysis(
['yield.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=['pull', 'squish', 'arrange', 'pivot'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='yield',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='yield',
)
Reply


Messages In This Thread
Pyinstaller Maximum recursion bug - by scales11 - Apr-02-2019, 03:16 PM
RE: Pyinstaller Maximum recursion bug - by scales11 - Apr-08-2019, 01:11 PM
RE: Pyinstaller Maximum recursion bug - by scales11 - Apr-08-2019, 02:21 PM
RE: Pyinstaller Maximum recursion bug - by scales11 - Apr-09-2019, 09:26 PM
RE: Pyinstaller Maximum recursion bug - by snippsat - Apr-10-2019, 04:48 PM
RE: Pyinstaller Maximum recursion bug - by scales11 - Apr-10-2019, 07:06 PM
RE: Pyinstaller Maximum recursion bug - by SuzanneKH09 - Nov-10-2023, 10:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug maximum recursion depth exceeded while calling a Python object error in python3 Prezess 4 3,816 Aug-02-2020, 02:21 PM
Last Post: deanhystad
  RecursionError: maximum recursion depth exceeded in comparison ? leoahum 11 13,212 Mar-18-2019, 01:53 PM
Last Post: leoahum
  maximum recursion depth exceeded saba_keon 3 7,501 Apr-08-2018, 07:30 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020