5
pymongo.errors.ConfigurationError: Server at 10.2.6.31:27017 reports wire versio...
source link: https://blog.51cto.com/u_13753753/5811727
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
pymongo.errors.ConfigurationError: Server at 10.2.6.31:27017 reports wire version 5, but this versio
精选 原创编写python3连接mongodb3.4的脚本报以下错误:
pymongo.errors.ConfigurationError: Server at 10.2.6.31:27017 reports wire version 5, but this version of PyMongo requires at least 6 (MongoDB 3.6).
由于使用 pip3 install pymongo 命令默认安装的是支持mongodb3.6及以上版本的驱动,现需要降级到3.4,命令如下:
pip3 install pymongo==3.4
问题解决。
- 赞
- 收藏
- 评论
- 分享
- 举报
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK