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

1
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
1
conda activate econ21340-env 

The environment file

The content of the environment.yml file is

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
name: econ21340-env
channels:
  - defaults
  - conda-forge
dependencies:
  - python>=3.7 
  - numpy
  - matplotlib
  - pandas
  - seaborn
  - tqdm
  - tensorflow
  - keras
  - jupyter
  - nb_conda_kernels