Skip to content

Latest commit

 

History

History
122 lines (61 loc) · 4.41 KB

File metadata and controls

122 lines (61 loc) · 4.41 KB
.. toctree::
   :maxdepth: 1


Getting started

  1. Find the name of your home directory

    On windows:

    1. start a cmd shell by typing "cmd" in the windows search bar and executing the dos command prompt

    2. Note the location that is listed when you type

      echo %userprofile%

      in the command window

    On macs:

  2. Start a terminal by typing terminal in spotlight

    1. Note the location that is listed when you type

      echo $HOME

  3. Install Miniconda Python version 3.6 from https://conda.io/miniconda.html into a a folder called mini36 in your home directory. When prompted, choose to install for just yourself, but make miniconda python the default python

  4. To see if your installation is working, start a terminal and type

    where python (on windows)

    or

    which python (on macs)

    You should see that mini36 python is the version that is found on your path

  5. Install the git version control package (which we will learn more about later). To do this, type

    conda install git

    at a prompt and answer yes to permit the install

  6. Clone the course software into a directory of your choosing. Create a folder somewhere under your home directory and cd into that folder. Then type the following at the prompt:

    git clone https://github.com/phaustin/numeric.git

  7. cd into the numeric folder and install the course software by typing (note single minus sign in front of the e):

    pip install -e .

  8. cd into the numeric/utilities folder and install the required python packages by typing (note two minus signs in front of the file flag):

    conda install --file class_specs.txt

  9. If the packages have installed correctly then typing

    jupyter notebook

    at a prompt should launch jupyter.

Books and tutorials