import pymongo
works fine from the python shell.
However, I'm getting this error
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times:
> Traceback (most recent call last): File
> "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 457, in
> __init__ self._adapter = adapter(**kwargs) File
> "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/__init__.py", line
> 39, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
> File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py",
> line 50, in __init__ self.find_driver() File
> "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/mongo.py", line
> 29, in find_driver super(Mongo, self).find_driver() File
> "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", line
> 101, in find_driver str(self.drivers)) RuntimeError: No driver of supported
> ones ('pymongo',) is available
>
I've installed pymongo via pip locally, in site-packages, in addition to
globally, any other ideas why python sees the package, but web2py (pydal)
can't?
--
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/402eeef9-dc03-41df-8e8d-cd6e8b65c3bc%40googlegroups.com.