craneium.net

brain matters . . .

  • Increase font size
  • Default font size
  • Decrease font size
Home Python Programming ipython install Gutsy/Hardy

ipython install Gutsy/Hardy

E-mail Print PDF

Installing ipython for cloud/grid computing is a little bit different than the process one must go through for Gutsy/Hardy. From a completely fresh Ubuntu Intrepid install the following Ubuntu/debian packages are needed:

$ sudo apt-get install build-essential libssl-dev python-setuptools python-dev

From there we will use “easy_install” to get the relevent python modules we need to work with.

$  sudo easy_install foolscap nose pexpect pyopenssl sphinx

Then, becuase I am a bit paranoid, I download the ipython source and run it’s confgure option to make sure that it can find all the dependant libraries.

$ wget http://ipython.scipy.org/dist/ipython-0.9.1.tar.gz
$ tar xfz ipython-0.9.1.tar.gz
$ cd ipython-0.9.1/
$ ./setup.py configure

As mentioned in a previous article, you ought to see something along the lines of:

Twisted: 8.1.0
Foolscap: 0.3.2
OpenSSL: 0.8
sphinx: 0.5.1
pygments: 1.0
nose: 0.10.4
pexpect: 2.1

Next we know the installer can find everything in the proper fashion, I install via easy_install (this makes upgrading easy later as new versions come out)

$ cd ..

$ rm ipython-0.9.1/
$ sudo easy_install ipython

From there you should be up and running!

The following is a good test as to whether all capabilities are functioning properly: everything is functioning properly:

$ ipcluster -n 4
Last Updated on Thursday, 17 December 2009 06:52