Skip to content

add instructions for running notebooks locally #96

@mscarey

Description

@mscarey

This process seems to have changed since I replaced setup.py with setup.cfg.

I had to do this:

  1. Use venv to create a virtual environment with a unique name (no other virtual environment on the computer has the same name).
python -m venv ausvenv
  1. Install both the regular requirements and the dev requirements.
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
  1. Register the virtual environment with ipykernel.
python -m ipykernel install --user --name=ausvenv
  1. Start a conda environment.
conda activate
  1. Activate conda development mode in the authorityspoke directory.
conda develop .
  1. Start Jupyter Notebook
jupyter notebook
  1. In the web browser, navigate to the notebooks folder and open one of the .ipynb files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions