如中所述 this issue 和解释 the detailed answer 快速解决方法是
pip uninstall bson pip uninstall pymongo pip install pymongo