You will need to install the driver package and any other dependencies required by the particular dialect you are using.
For example, for the pyodbc driver you will see the docs claim you need to install pyodbc. http://docs.sqlalchemy.org/en/rel_0_9/dialects/mssql.html#module-sqlalchemy.dialects.mssql.pyodbc On Wed, Oct 1, 2014 at 9:09 AM, Alen Cerovic <[email protected]> wrote: > Hi, > > new to pyramid, actually installed it yesterday :) What would be correct > "sqlalchemy.url" in "development.ini" to connect to ms sql server > > I tried : > sqlalchemy.url = mssql://username:password@ServerIP\ServerInstancce/DbName > > but getting error: > return __import__('pyodbc') > ImportError: No module named pyodbc > > tried also: > > sqlalchemy.url = mssql+pyodbc://DSN=py_test > > py_test is DSN name on my Win7 machine but same error > > Please help > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
