Re: [sqlalchemy] mssql+turbodbc cnnection not working when converted to .exe , however runs fine when it is in .py file

2019-10-14 Thread Simon King
Looks like you need to convince PyInstaller to include the turbodbc library in your executable. This would be a PyInstaller question rather than an SQLAlchemy one. I haven't used PyInstaller, but typically these tools analyse your source code to see which modules you are importing, and include

Re: [sqlalchemy] mssql+turbodbc cnnection not working when converted to .exe , however runs fine when it is in .py file

2019-10-13 Thread Pradeep Dhamale
Hi Simon, thanks for the response , following below is my code and attached is the snapshot of error for your reference , the code runs fine when it is in py file , however it fails when i convert it into exe. Code : import pandas as pd from pandas import DataFrame import numpy as np import

Re: [sqlalchemy] mssql+turbodbc cnnection not working when converted to .exe , however runs fine when it is in .py file

2019-10-10 Thread Simon King
What is the error message when it fails? On Thu, Oct 10, 2019 at 10:00 AM Pradeep Dhamale wrote: > > i have created a mssql connection using sqlalchemy : mssql+turbodbc engine, > the script runs properly when it is a .py file , however whenever i convert > the .py file to .exe using

[sqlalchemy] mssql+turbodbc cnnection not working when converted to .exe , however runs fine when it is in .py file

2019-10-10 Thread Pradeep Dhamale
i have created a mssql connection using sqlalchemy : mssql+*turbodbc* engine, the script runs properly when it is a .py file , however whenever i convert the .py file to .exe using pyinstaller --one file , the exe gets generated successfully , but while executing the exe it fails. --