Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1019 Bytes

File metadata and controls

46 lines (32 loc) · 1019 Bytes

EM-DAT Python Tutorials

Note: The Tutorials are also available on the EM-DAT Documentation Website

Setting up

Windows (using conda in Anaconda Powershell prompt):

cd <project directory>

# installing environment with conda
conda env create --name emdat -f environment.yml
conda activate emdat
# emdat env activated

# starting notebook server
jupyter notebook

# to leave emdat env
conda deactivate

# delete environment
conda env remove --name emdat

MacOS X and Linux (implying python=python3):

python -m venv myenv
source myenv/bin/activate
# myenv activated

pip install --upgrade pip
pip install -r requirements.txt
jupyter notebook

# to leave myenv
deactivate

# to delete local environment
rm -rf myenv