

Python: aliased to ls -l /Users/morningtzh/anaconda/bin/python3 Sudo pip install pymongo -U => successfully installed pymongo Sudo apt-get remove python-gridfs # not sure if it's necessary => sudo: apt-get: command not found Sudo apt-get remove python-bson => sudo: apt-get: command not found

Sudo pip uninstall bson => Cannot uninstall requirement bson, not installed check the permissions and owner of that directory. We recommend that you use PIP to install 'PyMongo'. sudo yum install mongodb-org There are two Is this ok y/N: prompts.
PIP INSTALL PYMONGO HOW TO
The directory '/Users/aleesha/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. PyMongo tutorial shows how to program MongoDB in Python. If executing pip with sudo, you may want sudo's -H flag. Please check the permissions and owner of that directory. The directory '/Users/aleesha/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled.
