Posts

Showing posts from 2020

Errors faced when using Pyinstaller

I realized this happens when I use pyinstaller with Pandas module: PyInstaller Error: RecursionError: maximum recursion depth exceeded  It works fine with other modules I had. To resolve this, 1) Run the following to create a test.spec file       pyinstaller -F test.py  2) Inside test.spec, insert in the following at the top of the file       import sys   sys.setrecursionlimit(5000) 3) After that rerun the following command     pyinstaller filename.spec or pyinstaller --paths C:\Python35\Lib\site-packages\PyQt5\Qt\bin test.spec Source: https://stackoverflow.com/questions/38977929/pyinstaller-creating-exe-runtimeerror-maximum-recursion-depth-exceeded-while-ca ----------------------------------------------------------------------------------------------- Other errors encountered: 1) pkg_resources.py Module not round ModuleNotFoundError: No module named 'pkg_resources.py2_warn' [25405] Failed to execut...