Pyinstaller Maximum Recursion Error After Pre-safe Import Module Hook [six.moves]
I am trying to use PyInstaller to convert my python3.5 project into an .exe file My main file is SegTool.py This is my .spec file: # -*- mode: python -*- block_cipher = None a =
Solution 1:
This might be too late, but I faced this issue too, and fixed it by adding a couple of lines of code in the spec file at the top:
# -*- mode: python -*-import sys
sys.setrecursionlimit(5000)
block_cipher = None
Hopefully, this fixes you issue too, if it is still open!
Solution 2:
Try the following command to force reinstall!
pip install --force-reinstall--no-binary :all: pyinstaller
Solution 3:
pip install --upgrade setuptools
Hopefully this fixes your issue.
Post a Comment for "Pyinstaller Maximum Recursion Error After Pre-safe Import Module Hook [six.moves]"