I get the following error when try  running from source (git clone 2.17.1 ) 
on windows.
RuntimeError: No driver of supported ones ('psycopg2',) is available

The welcome application runs fine.
works fine also (connecting to pg) on 2.14.6 source
used commandline:

C:\Python27\python.exe C:\Dev\web\web2py_win\web2py_2_17_1\web2py.py -c cert
/ca.crt -k cert/ca.key -p 443


Full error message :
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
Traceback (most recent call last): File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\base.py", 
line 455, in __init__ self._adapter = adapter(**kwargs) File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\adapters\postgres.py",
 
line 25, in __call__ return AdapterMeta.__call__(cls, *args, **kwargs) File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\adapters\__init__.py",
 
line 40, in __call__ obj = super(AdapterMeta, cls).__call__(*args, 
**kwargs) File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\adapters\postgres.py",
 
line 48, in __init__ driver_args, adapter_args, do_connect, 
after_connection) File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\adapters\base.py",
 
line 369, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) 
File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\adapters\base.py",
 
line 50, in __init__ self.find_driver() File 
"C:\Dev\web\web2py_win\web2py_2_17_1\gluon\packages\dal\pydal\adapters\base.py",
 
line 101, in find_driver str(self.drivers)) RuntimeError: No driver of 
supported ones ('psycopg2',) is available


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to