Yo tuve el mismo problema. Pymongo entra en conflicto con el bson
paquete. Esto funcionó para mí:
sudo pip uninstall pymongo
sudo pip uninstall bson
sudo apt-get remove python-bson
sudo apt-get remove python-gridfs # not sure if it's necessary
sudo pip install pymongo -U