Eu tive o mesmo problema. O Pymongo entra em conflito com o
bson pacote. Isso funcionou para mim: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