Notes on Ubuntu (Linux) computing

Brief notes on installation, setup and other tasks in the Ubuntu world

Upgrade nose in Ubuntu 12.04

leave a comment »

A project I am working on uses nose for unit testing. The default version of nose in the Ubuntu 12.04 repository is not the most current and I am experiencing some issues so I will upgrade.

First, remove old package

sudo apt-get remove python-nose

Download the current version (1.2.1)

tar -xzf nose-1.2.1.tar.gz
cd nose-1.2.1/

Following the notes here change line 71 of from

packages = ['nose', 'nose.ext', 'nose.plugins', 'nose.sphinx'],


packages = ['nose', 'nose.ext', 'nose.plugins', 'nose.sphinx', ''],

Finally, install in the usual way

sudo python install

Written by Chris S

December 28, 2012 at 10:47 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: