源码安装IPython
 
[root@6 ~]#wget http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz
[root@6 ~]# tar zxvf ipython-0.10.1.tar.gz 
[root@6 ~]# cd ipython-0.10.1
[root@6 ipython-0.10.1]# python setup.py install
[root@6 ~]# ipython
Xlib:  extension "RANDR" missing on display "localhost:11.0".
Python 2.6.5 (r265:79063, Jul 14 2010, 11:36:05) 
Type "copyright", "credits" or "license" for more information.
 
IPython 0.10.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.
 
In [1]: 
[root@markgneg ~]# wget http://pypi.python.org/packages/source/p/pymongo/pymongo-1.9.tar.gz#md5=12e12163e6cc22993808900fb9629252
[root@markgneg ~]# tar zxvf pymongo-1.9.tar.gz 
[root@markgneg ~]# cd pymongo-1.9
[root@markgneg pymongo-1.9]# python setup.py install
root@markgneg ~]# python
Python 2.4.3 (#1, Sep  3 2009, 15:37:37) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymongo
>>> conn = pymongo.Connection(host="192.168.16.216")
>>> db=conn.jieshi
>>> db
Database(Connection('192.168.16.216', 27017), u'jieshi')