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.ymlat the end of this page. It will create a
econ21340-envenvironment 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
- Either select the
econ21340-envin 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
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