In case I need it in the future.
Install pymongo in ubuntu13 for python3
(1) Do not install pymongo directly in the ubuntu software center; they are for the old version of python (up to version 3) 
If you install it, you cannot use pymongo in python3: 
(2) You must install the specific python package installer for python 3: python3-pip 
(3) use the python3-pip command for pip-3.3 command, run the following command in unbuntu terminal to install pymongo:
pip-3.3 install pymongo
If you do not have superuser privileges, run it with sudo
sudo pip-3.3 install pymongo
(4) Then itβs easy for you to install pymongo, which can be used in python3. To check it, enter IDLE:

(5) You can also install pymongo3 without problems in the terminal:
pip-3.3 install pymongo3
But there is no need to install it, because now all its functions are included in the current pymongo package.
source share