Recipe: argparse with Jython 2.5.1

To install the argparse module into Jython 2.5.1 you have to download and install it by hand rather than using one of the package managers.

Here’s how: cd into the folder where jython2.5.1 is and run this:

wget http://peak.telecommunity.com/dist/ez_setup.py
jython ez_setup.py
jython2.5.1/bin/easy_install argparse

Tested on Mac OS X.

Subscribe Tweet This
Written by Alexander Ljungberg on 2010 Sep 1 .
Tagged .