Consult the import xlwings packaging hint recursion depth error
The import xlwings as xw
Print (" hello world ")
After pyinstaller out the tip
RecursionError: maximum recursion the depth exceeded the while calling a Python object
Originally written code, streamline and found as long as the import xlwings will go wrong