I tried --hidden-import sqlalchemy_teradata. It didnt help. Any way thanks 
for the suggestion.

On Wednesday, May 16, 2018 at 3:26:48 AM UTC-5, Simon King wrote:
>
> On Tue, May 15, 2018 at 8:59 PM,  <bin...@gmail.com <javascript:>> wrote: 
> > I have been struggling for a few days due to an issue with SQLAlchemy. 
> > 
> > The line of code which is giving problem is 
> > 
> > engine = 
> > sqlalchemy.create_engine('teradata://pwd@DBinstance?driver=Teradata') 
> > 
> > This code works perfectly fine while running from Spyder while running 
> from 
> > .py file. 
> > But while converting to an exe file and run, it gives the following 
> error: 
> > 
> > sqlalchemy.exc.NoSuchModuleError: Can't load plugin: 
> > sqlalchemy.dialects:teradata 
> > 
> > 
> > Any help would be appreciated. 
> > 
>
> It's possible that pyinstaller hasn't included the sqlalchemy_teradata 
> package in its output. Perhaps adding "--hidden-import 
> sqlalchemy_teradata" to your command line when building the exe might 
> help? 
>
> Simon 
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to