python3.7-MongoDB-'Collection' object is not callable.
问题
python3.7 MongoDB报错
TypeError: ‘Collection’ object is not callable. If you meant to call the ‘authenticate’ method on a ‘Database’ object it is failing because no such method exists.
解决办法
降级Mongodb库的版本
pip3 uninstall pymongo
pip3 install pymongo==3.9
扫描二维码推送至手机访问。
版权声明:本文由UzJu的安全屋发布,如需转载请注明出处。
SQL ERROR: ERROR 1105 (HY000): XPATH syntax error: '~root@localhost'