Skip to content

Getting started

Here we will see how to get started to run the code on this website. We will do this using conda.

This really requires a few steps:

  • Install conda for your platform, find how to do that here Installing conda

  • Use the provided environment file environment.yml at the end of this page. It will create a econ21340-env environment with all dependencies, this includes python, jupyter, numpy, pandas, tensorflow, etc...

conda env create -f environment.yml

or use the conda interface/navigator to create the environment from the environment.yml file

  • Either select the econ21340-env in your jupyter notebook, or activate your environment in the terminal
conda activate econ21340-env 

The environment file

The content of the environment.yml file is

name: econ21340-env
channels:
  - defaults
  - conda-forge
dependencies:
  - python>=3.7 
  - numpy
  - matplotlib
  - pandas
  - seaborn
  - tqdm
  - tensorflow
  - keras
  - jupyter
  - nb_conda_kernels