Try starting a regular python console and type in import pyodbc
If this gives an error, there's something wrong with your pyodbc install (=not a web2py issue). Did easy_install give any errors ? Do you perchance have multiple versions of python installed ? On Jan 27, 11:06 pm, kgingeri <kging...@gmail.com> wrote: > Hi all, > > Still a noob here and I have not found any complete examples of using > MSSQL. > I have purchased and downloaded the PDF manual but no help. > > I am on a Mac (but use Linux also). I get an error: > > NameError: global name 'pyodbc' is not defined > > and have installed pyodbc using easy_install and manually. > > Inserting a "import pyodbc" in db.py didn't help - it can't find the > module?? > > Any help is appreciated. If I can easily get MSSQL working, web2py > could > become our choice of framework for all our projects! > > KG --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---