Find us on GitHub

This directory contains scripts for testing your machine to make sure you have the software you'll need for your workshop installed. To use these scripts:

  1. Download swc-installation-test-1.py.

  2. Run it from the shell:

    $ python swc-installation-test-1.py
    Passed
    
  3. Download swc-installation-test-2.py.

  4. Run it from the shell:

    $ python swc-installation-test-2.py
    check virtual-shell...  pass
    ...
    Successes:
    
    virtual-shell Bourne Again Shell (bash) 4.2.37
    ...
    

    If you see something like:

    $ python swc-installation-test-2.py
    check virtual-shell...  fail
    ...
    check for command line shell (virtual-shell) failed:
      command line shell (virtual-shell) requires at least one of the following dependencies
      For instructions on installing an up-to-date version, see
      http://software-carpentry.org/setup/
      causes:
      check for Bourne Again Shell (bash) failed:
        could not find 'bash' executable for Bourne Again Shell (bash)
        For instructions on installing an up-to-date version, see
        http://software-carpentry.org/setup/
    ...
    

    follow the suggestions to try and install any missing software. For additional troubleshooting information, you can use the --verbose option:

    $ python swc-installation-test-2.py --verbose
    check virtual-shell...  fail
    ...
    ==================
    System information
    ==================
    os.name            : posix
    ...
    
  5. Start KDiff3 from the shell:

    $ kdiff3
    

    A KDiff3 window and a dialog asking from 3 files (A, B, and C) should open. Click Cancel to exit the dialog, and then exit the window. If that all went well, KDIff3 is installed and on your path, otherwise, please talk to an instructor or helper.