I compiled .py file with pyinstaller as follows:
pyinstaller --hidden-import presto --hidden-import scipy._lib.messagestream --onefile main.py
When I ran the compiled file, I got the error:
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:presto
p.s. I used sqlalchemy.engine to connect to presto like:
engine = create_engine('presto://presto.service.example.com:8080/hive/default')
I haven't found anything useful on google.