I am unable to do this:
from pymongo import MongoClient
I get:
>>> import pymongo >>> from pymongo import
I would like to suggest more robust answer:
pip show pymongo
now see where it direct you and from there simply remove the pymongo directory
rm -rf /pymongo*
Now, you can safely install pymongo again:
pip install pymongo