Web2Py Python 忽略当前最新安装的 pymongo 版本
Web2Py Python ignores currently latest pymongo installed version
错误: pydal 要求 pymongo 版本 >= 3.0,找到 '2.2.1'
Pymongo:
import pymongo
pymongo.version
'3.2.2'
错误堆栈: <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'
环境: OSX 10.11,Python 2.7.10
我刚刚盯着 Python 所以我需要帮助。感谢您的宝贵时间!
没有解决这个问题,但我最终继续使用 web2py 的源代码版本
错误: pydal 要求 pymongo 版本 >= 3.0,找到 '2.2.1'
Pymongo:
import pymongo
pymongo.version
'3.2.2'
错误堆栈: <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'
环境: OSX 10.11,Python 2.7.10
我刚刚盯着 Python 所以我需要帮助。感谢您的宝贵时间!
没有解决这个问题,但我最终继续使用 web2py 的源代码版本