Install Using Conda (Advanced)¶
It is also possible to install SimNIBS using the Conda package manager.
Windows¶
Download and install the Miniconda Python 3 distribution.
Download the SimNIBS environment file
Open Anaconda Prompt, which can be found in the Start Menu.
Run in the Prompt:
conda env create -f "%USERPROFILE%\Download\environment_win.yml" conda activate simnibs_env pip install -f https://github.com/simnibs/simnibs/releases/latest simnibs
(Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the
postinstall_simnibs
script:
md "%USERPROFILE%\SimNIBS" postinstall_simnibs --copy-matlab --setup-links -d "%USERPROFILE%\SimNIBS"
Linux¶
Download and install the Miniconda Python 3 distribution.
Download the SimNIBS environment file
Run in a terminal window:
export PATH="$HOME/miniconda/bin:$PATH" # This part can change depending on your miniconda installation conda env create -f ~/Downloads/environment_linux.yml conda activate simnibs_env pip install -f https://github.com/simnibs/simnibs/releases/latest simnibs
(Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the
postinstall_simnibs
script:
mkdir $HOME/SimNIBS postinstall_simnibs --copy-matlab --setup-links -d $HOME/SimNIBS
MacOS¶
Download and install the Miniconda Python 3 distribution.
Download the SimNIBS environment file
Run in a terminal window:
export PATH="$HOME/miniconda/bin:$PATH" # This part can change depending on your miniconda installation conda env create -f ~/Downloads/environment_macOS.yml conda activate simnibs_env pip install -f https://github.com/simnibs/simnibs/releases/latest simnibs
(Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the
postinstall_simnibs
script:
mkdir -p $HOME/Applications/SimNIBS postinstall_simnibs --copy-matlab --setup-links -d $HOME/Applications/SimNIBS