Last week I upgraded my development environment from Mac OS X Mavericks - 
Python 2.7 - Web2py 2.14.5 to
Mac OS X Catalina - Python 2.7 - Web2py 2.18.5, since then I have the 
following issue:


<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
Traceback (most recent call last): File 
"/web2py/gluon/packages/dal/pydal/base.py", line 457, in __init__ 
self._adapter = adapter(**kwargs) File 
"/web2py/gluon/packages/dal/pydal/adapters/postgres.py", line 27, in 
__call__ return AdapterMeta.__call__(cls, *args, **kwargs) File 
"/web2py/gluon/packages/dal/pydal/adapters/__init__.py", line 39, in 
__call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File 
"/web2py/gluon/packages/dal/pydal/adapters/postgres.py", line 54, in 
__init__ driver_args, adapter_args, do_connect, after_connection) File 
"/web2py/gluon/packages/dal/pydal/adapters/base.py", line 369, in __init__ 
super(SQLAdapter, self).__init__(*args, **kwargs) File 
"/web2py/gluon/packages/dal/pydal/adapters/base.py", line 50, in __init__ 
self.find_driver() File 
"/web2py/gluon/packages/dal/pydal/adapters/base.py", line 101, in 
find_driver str(self.drivers)) RuntimeError: No driver of supported ones 
('psycopg2',) is available 


I have psycopg2 installed in the python directory 
/Library/Python/2.7/site-packages/ that is not where web2py expects it to 
be, is there a way to solve this issue?


Kind regards,

Annet

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/cd4dd9e1-c31e-4f7f-818c-230a838d16dc%40googlegroups.com.

Reply via email to