pyddsde Installation Guide

Anaconda

This guide explains creating and installing pyddsde package.

If you don’t have Anaconda installed, you can do so from Anaconda Website

Step 1 : Clone the git repo

Open the terminal in your prefered directory and execute the below command to clone the repo

git clone https://github.com/tee-lab/pyFish.git

enter image description here

After cloning the terminal should look like this

image1

Step 2 : Change the directory to pyddsde

cd pyddsde

image2

Typing ls should show the following content

image3

Step 3 : Create python environment

conda env create -f environment.yml

image4

Now, an environment named pyddsde should be created

image5

Step 4 : Activate pyddsde environment

conda activate pyddsde

The (pyddsde) should appear in the terminal.

image6

Step 5 : Install pyddsde

python -m pip install .

image7

If you see a similar output at the end then the package is successfully installed

image8

You can run the notebook files using jupyter notebook (or jupyter lab)

jupyter notebook

image9

This should open the notebook application in the browser, click on notebooks folder and open the .ipynb notebook file.

After opening the file, click on the cell and press Shift+Enter to execute that cell and move to the next.

pip