craneium.net

brain matters . . .

  • Increase font size
  • Default font size
  • Decrease font size
Home Python Programming
Python Programming

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
 

Xubuntu Intrepid/Jaunty on the Dell Mini 9

E-mail Print PDF

Xubuntu is a wonderful distro for the Dell Mini-9. There are some bumps in getting everything working, but it seems like the worst are targets for fixed in Jaunty.

First up. The sound didn’t work with the default install.
The fix for this is really easy I found it here

Basically open up ‘/etc/modprobe.d/alsa-base’ and add the line:

options snd-hda-intel model=dell

To the end of the file.  Sound worked wonderfully upon reboot.  (fixed in Jaunty)

Next up PEAP with GTC is not supported in the build of network-manager.  To further complicate things the Broadcom driver freezes up if you try to use this mode at all!  For those of us on school/corporate network’s this simply is unacceptable.  There is a fix using the ‘ndiswrapper’ style driver.  I don’t like this fix, but it works perfectly if you follow the instructions found here:

http://www.ubuntumini.com/

(Fixed in Jaunty!

Last Updated on Monday, 07 December 2009 01:11
 

Ipython In Jaunty/Karmic

E-mail Print PDF

Sweet news.  The bits necessary for ipython’s parallel computing environment are automatically built into the apt dependencies!

This means that installing everything that you need under Jaunty takes simply the following:

$sudo apt-get install ipython

Viola!  Now for some examples!  (Next post to come!)

Last Updated on Monday, 07 December 2009 01:09
 


Page 3 of 3