I am trying to run pyinstaller on the following file. This fails when I hit a module named win32com.
from impala.dbapi import connect
from impala_creds import *
import base64
def main():
conn = connect(host='
impala.company.com', port=21050,
auth_mechanism='GSSAPI', database='default',
user=base64.b64decode(username), password=base64.b64decode(password))
cursor = conn.cursor()
cursor.close()
conn.close()
if name == 'main':
main()
I am getting a max recursion depth exceeded.
The following is an excerpt of the stack trace:
File "C:\Users\sreyan32\AppData\Roaming\Python\Python36\site-packages\pkg_resources\__init__.py", line 1331, in safe_version
return str(packaging.version.Version(version))
File "C:\Users\sreyan32\AppData\Roaming\Python\Python36\site-packages\pkg_resources\_vendor\packaging\version.py", line 230, in __init__
self._version.local,
File "C:\Users\sreyan32\AppData\Roaming\Python\Python36\site-packages\pkg_resources\_vendor\packaging\version.py", line 353, in _cmpkey
reversed(release),
File "C:\Users\sreyan32\AppData\Roaming\Python\Python36\site-packages\pkg_resources\_vendor\packaging\version.py", line 352, in <lambda>
lambda x: x == 0,
RecursionError: maximum recursion depth exceeded in comparisonI have also attached the stack trace that I could gather as reference. This is a problem with a module name win32com.
What exactly can I do to solve this problem ???
--