-
Notifications
You must be signed in to change notification settings - Fork 44
Home
Nathan Keim edited this page Sep 9, 2019
·
4 revisions
To ensure reproducibility and make sure Binder works, it's important to install a standardized environment. Here's how:
-
Pull the trackpy-examples repo and create a new branch.
-
Remove the old examples environment if it exists:
conda env remove -n trackpy-examples
-
Take a quick look at
environment.yml
and see if anything needs to be updated. Ideally there should be no pinned versions. -
In the trackpy-examples repo:
conda env create -f environment.yml conda activate trackpy-examples
-
To use this as a Jupyter kernel:
python -m ipykernel install --user --name trackpy-examples --display-name trackpy-examples
-
If you are anticipating a new release of trackpy, you need to use the development version:
conda remove trackpy pip install -e <your local trackpy repo>
-
If you would like to also run tests in this "clean" environment, run
conda install nose
and (optionally)pytest
.