Installation#

py_neuromodulation requires at least python 3.10. For installation you can use pip:

pip install py-neuromodulation

We recommend however installing the package in a new new conda environment:

git clone https://github.com/neuromodulation/py_neuromodulation.git
conda create -n pynm-test python=3.10
conda activate pynm-test

Then install the packages listed in the pyproject.toml:

pip install .

Optionally the ipython kernel can be specified for the installed pynm-test conda environment:

ipython kernel install --user --name=pynm-test

Then py_neuromodulation can be imported via:

import py_neuromodulation as nm