You have two versions of python installed:
python 3.5 with pymongo 3.3
python 2.7 with pymongo 2.2.1 (web2py uses this one)

you must upgrade pymongo for the latter.

On Tuesday, 11 October 2016 20:55:46 UTC-5, Sumit Sinha wrote:
>
> *Web2py Error:*
>
>    <type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
> Traceback (most recent call last): File  
> "/Applications/web2py.app/Contents/Resources/gluon/packages/dal/pydal/base.py",
>  
> line 446, in __init__ File  
> "/Applications/web2py.app/Contents/Resources/gluon/packages/dal/pydal/adapters/base.py",
>  line 60, in __call__ File  
> "/Applications/web2py.app/Contents/Resources/gluon/packages/dal/pydal/adapters/mongo.py",
>  
> line 91, in __init__ Exception: pydal requires pymongo version >= 3.0, found 
> '2.2.1'
>
>
>     Version web2py™ Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
>
> *Python:*
>
>  pythonPython 3.5.1 (v3.5.1:37a07cee5969, Dec  5 2015, 21:12:44) [GCC 4.2.1 
> (Apple Inc. build 5666) (dot 3)] on darwinType "help", "copyright", "credits" 
> or "license" for more information.>>> import pymongo>>> 
> pymongo.version'3.3.0'>>> 
>
> Environment: OSx
>
> Can someone help in resolving Web2py error?
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to