I also wanted to use MongoDB, so install pymongo and motor together.
sudo apt-get install build-essential python-dev
sudo pip install tornado
sudo pip install pymongo
sudo pip install motor
To install the latest version of MongoDb, it is necessary to update the package, but this time I decided to use the package prepared by default.
Previously, it took a long time to install from the package, so I used the binary one, but there was no problem installing from the package.
The version of MongoDb installed was 2.4.10.
If you install with apt-get, MongoDb will start up automatically when the OS starts.
sudo apt-get install mongodb
In a proxy environment, add a proxy option or
sudo -E pip install package name
Recommended Posts