Find us on GitHub

Testing your setup

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
    ...
    

Download the data needed for the workshop

Shell

You need to download some files to follow this lesson:

  • Download shell-novice-data.zip and move the file to the desktop.
    If it’s not unzipped yet, double-click on it to unzip it. You should end up with a new folder called data-shell.

You can access this folder from the Unix shell with:

$ cd && cd Desktop/data-shell/