mongoengine是基于pymongo的,后者的3.0版本在windows下似乎会有这个问题,解决方法就是降级:
pip install pymongo==2.8
来源:upgrade to pymongo 3.0 breaks pymongo connection #935
mongoengine是基于pymongo的,后者的3.0版本在windows下似乎会有这个问题,解决方法就是降级:
pip install pymongo==2.8
来源:upgrade to pymongo 3.0 breaks pymongo connection #935
转载于:https://www.cnblogs.com/lvxiaoyu/p/4571236.html