GDP Growth Nowcasting Workshop — Jamaica
2026-05-01
Why: Anaconda bundles Python, conda (environment manager), Jupyter, and the most common data science packages.
Go to the Anaconda download page and download the Python 3.11 installer for your OS.
Run the installer and follow the prompts (default options are fine).
Open the Anaconda Prompt from the Start Menu.
Open the Anaconda Prompt and run:
All three commands should print version numbers without errors.
We need two separate environments because of package conflicts:
nwcst — Nowcasting models
geo — Geospatial / Nighttime Lights
nwcst EnvironmentOpen an Anaconda Prompt and run:
If pytorch causes errors, create without it first, then add it:
nwcstIf PDF libraries fail:
geo EnvironmentYour browser will open at http://localhost:8888. Create a notebook using the Python 3 (nwcst) kernel.
nwcst interpreter: Ctrl+Shift+P → Python: Select Interpreter → choose nwcstOpen workshop_code/s0_env_check.ipynb and run all cells:
# Utilities
import io, os, re, urllib3, requests, datetime, glob, json
import pandas as pd
import numpy as np
from datetime import date
from bs4 import BeautifulSoup
from dateutil.parser import parse
import xml.etree.ElementTree as ET
from io import BytesIO
import zipfile
import eurostat
import pprint as pp
import logging
# Statistics
from sklearn import linear_model
import matplotlib.pyplot as plt
import pmdarima as pm
import torch
from nowcast_lstm.LSTM import LSTM
import matplotlib.pyplot as plt
import seaborn as sns
print("All packages loaded successfully!")All imports should complete without errors.
All packages loaded successfully!
If you see ModuleNotFoundError:
nwcst environment: conda activate nwcstjupyter labworkshop_code/s0_env_check.ipynb| Error | Solution |
|---|---|
ModuleNotFoundError: pmdarima |
conda install pmdarima -y |
ModuleNotFoundError: nowcast_lstm |
pip install nowcast_lstm |
| Jupyter kernel not found | Re-run conda activate nwcst then jupyter lab |
| VS Code wrong interpreter | Ctrl+Shift+P → Python: Select Interpreter |
