Where can I download pymongo on 64bit ubuntu / linux

I need to install pymongo on 64bit ubuntu / linux. but downloads are only for windows and Mac. and this is a production plant.

maybe someone knows where to download.

+7
source share
3 answers

Here's a short answer (tested on ubuntu 12.10, quantum ketzal, 64-bit):

sudo apt-get install python-pip sudo apt-get install build-essential python-dev pip install pymongo 
+15
source

The best way to install Python packages is pip . If you do not already have pip , see the instructions for installing it at http://www.pip-installer.org/en/latest/installing.html .

Once you have the pip, you can install PyMongo with:

 pip install pymongo 

which will download the latest version (currently 2.1). PyMongo uses optional C extensions, so for best performance, also set Python headers and the C build chain. On ubuntu, you can do this with

 aptitude install build-essential python-dev 

If you do this after installing PyMongo, you must reinstall it to make sure that the C extensions are built:

 pip install -U pymongo 
+3
source
0
source

All Articles