1 Core Installations

Go to the RMD, PDF, or HTML version of this file. Go back to Python Code Examples Repository (bookdown site) or the pyfan Package (API).

Use the PyYAML to parse yaml.

1.1 Git Bash

  1. Download and install git

1.2 Conda Install

  1. Download Anaconda for Python 3. For more involved conda instructions see here

  2. Get where you installed conda: open up anaconda prompt with admin rights (press windows button, and search for anaconda prompt, right click on the resulting terminal icon, choose as admin, a terminal opens up).

where python
where anaconda

# C:/ProgramData/Anaconda3/Scripts/anaconda.exe
# C:/ProgramData/Anaconda3/python.exe
  1. Add to Path: open up windows Path and copy the paths found above inside.

1.2.1 Add To Path Details

To Add Anaconda to Path, In Windows

  1. Search for: Environment Variables
  2. Edit Environment Variables
  3. Add new to Path (lower half):
    • C:/ProgramData/Anaconda3/Scripts/
    • C:/ProgramData/Anaconda3/
  4. Now open up regular windows command Prompt, Type in: conda –version
  5. Close and Open up Git Bash: conda –version

Alternatively, in windows, directly search for Path, and add the python and anaconda exe paths to paths.