Change the Better World

pyinstaller.exe 실행시, "RecursionError: maximum recursion depth exceeded while calling a Python object" 발생 본문

Programming/Python

pyinstaller.exe 실행시, "RecursionError: maximum recursion depth exceeded while calling a Python object" 발생

white_cheetah 2021. 3. 14. 17:14

xxxx.py대신 xxxx.spec 열어 붉은색 부분 추가후, pyinstaller xxxx.spec로 실행.

 

xxxx.spec 내용

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

import sys
sys.setrecursionlimit(5000)

block_cipher = None

'Programming > Python' 카테고리의 다른 글

Valid Parentheses  (0) 2022.06.11
Longest Common Prefix  (0) 2022.06.09
Roman to Integer  (0) 2022.06.07
Leetcode - Palindrome Number  (0) 2022.06.04
Leetcode - Two Sum  (0) 2022.06.03
Comments