Quick Installation#

Prerequisites#

NeuRodent requires Python 3.10 or higher. If you don’t have Python installed, visit python.org to download and install it.

To check if Python is installed on your system, open a terminal (Command Prompt on Windows, Terminal on macOS/Linux) and run:

python --version

Install with pip#

Install NeuRodent using pip:

pip install neurodent

Note

New to Python? Pip is Python’s package installer that comes bundled with Python. Open your terminal and copy-paste the command above, then press Enter. This will automatically download and install NeuRodent and all its dependencies.

Install with conda#

If you use Anaconda or Miniconda, you can install NeuRodent from conda-forge:

conda install -c conda-forge neurodent

Note

New to conda? Conda is a cross-platform package and environment manager. If you don’t have it installed, visit Miniconda to get started with a minimal installation.

To create a dedicated environment for NeuRodent:

conda create -n neurodent-env python=3.10 neurodent -c conda-forge
conda activate neurodent-env

Verifying Installation#

To verify that NeuRodent is installed correctly, open a Python interpreter by typing python in your terminal, then try importing neurodent:

import neurodent
print(neurodent.__version__)

If this runs without errors, you’re ready to start using NeuRodent!

Next Steps#