You need to install pyodbc

On Thursday, 24 May 2012 19:41:21 UTC-5, Andrew wrote:
>
> Hello,
> I'm in the process of running web2py on Apache for the first time.  I 
> found some excellent tutorials on this, such as: 
> http://ochiba77.blogspot.co.nz/2011/10/how-to-setup-web2py-apache-wsgi.html, 
> and also Martin Mulone's Blog site.  Thanks for sharing the knowledge (BTW, 
> I think it makes sense to include this in the book - Deployment recipes).
>
> With a minimal amount of fuss I was able to get the Welcome app to come 
> up.  I then pointed to an existing app that connects to a SQL Server 
> database, and I get the error:
> File "E:\TWLApps\web2py\gluon\dal.py", line 2600, in __init__
> raise RuntimeError, "Unable to import driver"
> RuntimeError: Unable to import driver
>
> *I stopped Apache and started the normal "python web2py.py ...."  and my 
> MSSQL app works fine !*
>
> So, something with my apache config is stopping web2py finding, or loading 
> the (pyodbc?) driver - I think !.    
> I've searched the forum and web but I haven't found this particular 
> issue.     Any pointers would be appreciated.
>
> Thanks
> Andrew W
>

Reply via email to