标签:
mongoengine是基于pymongo的,后者的3.0版本在windows下似乎会有这个问题,解决方法就是降级:
pip install pymongo==2.8
来源:upgrade to pymongo 3.0 breaks pymongo connection #935
windows下mongoengine报错False is not a read preference.的解决办法
标签:
原文地址:http://www.cnblogs.com/lvxiaoyu/p/4571236.html