Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Prepare the environment

First follow these instructions to get a copy of the package as a local git repository.

Now that you have the repository, come inside and make your self comfortable. Run

cd seaduck

If you want to create a new conda environment, run

conda create --name bubblebath
conda activate bubblebath

I recommend installing the basic dependencies and the extra dependencies for tests at the same time. First, we create a file that combines the two yml file by running

pip install conda-merge
conda-merge environment.yml ci/environment-ci.yml > PleaseIgnore_env.yml

Now, let’s install them

conda env update --file PleaseIgnore_env.yml

Working with environment could be a headache sometimes. If some of the packages is unable to install on your machine, don’t sweat over it. Skip them for now, it is totally possible that some packages is not necessary for your purposes. You might be asking: ā€œHey! Is there a step that is absolutely not optional?ā€ Yes, you need to install our package if you want to work on it.

pip install -e .

Install Jupyter kernel¶

First activate the environment you want to run notebooks on

conda activate bubblebath

Install ipykernel and activate it.

conda install -c anaconda ipykernel
python -m ipykernel install --user --name=bubblebath

If you are using a web page, you may need to refresh the web page.