This is a common issue with certain libraries like pandas. I read that the solution may be by adding:
import sys
sys.setrecursionlimit(3000)
in the setup.py .Where is this setup file? I have created the py file and located it in the directory that i want to turn to exe but i don't know where i should add that piece of code?
There is also this fix:
hook-pandas.py
hiddenimports = ['pandas._libs.tslibs.timedeltas',
'pandas._libs.tslibs.nattype',
'pandas._libs.tslibs.np_datetime',
'pandas._libs.skiplist']
but I don't know how to make this hook even though I read the post in the official site. If you can, make a clear answer about how to solve this.