236days since
Bootcamp Start

Preparation‎ > ‎

Software

For the boot camp, you'll need both the Python core system and other important packages. You should also install the versioning software called GIT. Last, we'll ask you to download a tarball with examples from class so you can run them on your own. We'll post that tarball later but for now, you should try to get things going with the other installations (instructions below).

Core Python and Major Packages:

Python is a cross-platform programming language so it should work, in principle, the same on any operating system you run a python script within. However, one of the few major drawbacks of Python is that it's not always super easy to install the base code in addition to other major packages. This is particularly true on obscure or outdated operating systems. That said, there are a number of very good, reasonably up-to-date standalone installations that should just work out of the box. This year, we're going to use the distro from Continuum Analytics, but we've been very happy with the Enthought distribution in the past. If these do not work for you, let us know!


  1. For a fresh installation (recommended for Mac OSX/Linux; required for Windows), navigate on your web browser to the Continuum Analytics Anaconda Installation Instructions

       a. Download the version appropriate to your OS. When in doubt, get the 64-bit/GUI version for your OS.
      

     b Follow the distribution-specific installation instructions:
        - Linux
           (alternatively: follow the Instructions at http://fperez.org/py4science/starter_kit.html#on-linux)
        - Mac OS X
        - Windows

  2. If you are upgrading an existing distribution run this on the command line (Mac OS X or Linux):
      sudo pip install -U ipython, numpy, scipy, matplotlib


  3. Go to the Testing it All Works page.


Install Git

Git is a versioning program which helps you keep track of versions of code that you write and also allows you to write code collaboratively with others. Most open source projects use git or something like this. Git is the latest in a long line of versioning code, from RCS, CVS, and SVN heritage.

There are a bunch of ways to install git and gitk.  This site gives you a run down, including command line and GUI versions.


Mac OSX

   Here's what you do in the easy method. You can get the latest dmg (disk image) file here which should open after it downloads. Click on the mpkg file:


and then follow the instructions for installation. This will install git at /usr/local/git/bin/git
and gitk at /usr/local/git/bin/gitk. To use these, either add /usr/local/git/bin to your PATH or run those directly from the command line.

Windows
    


   Keep all the defaults as you are presented choices.
   When you fire up git for the first time you should see a window like:

  Linux:

    For Linux, please follow the distribution dependent installation instructions.

Comments