2016-04-03 112 views
1

錯誤: pydal需要pymongo版本> = 3.0,發現 '2.2.1'的web2py的Python忽略當前最新pymongo安裝的版本

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,所以我需要幫助。謝謝你的時間!

回答

0

沒有解決這個問題,但我終於繼續使用web2py的源代碼版本