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.
Locate the appropriate wheel for Windows on the release page (see latest), copy its address, and feed this directly to
pip installas shown belowDownload the SimNIBS Windows 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 https://github.com/simnibs/simnibs/releases/download/latest/simnibs-4.5.0-cp311-cp311-win_amd64.whl # change to the correct version
(Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the
postinstall_simnibsscript:
md "%USERPROFILE%\SimNIBS" postinstall_simnibs --setup-links -d "%USERPROFILE%\SimNIBS"
Linux¶
Download and install the Miniconda Python 3 distribution.
Locate the appropriate wheel for Linux on the release page (see latest), copy its address, and feed this directly to
pip installas shown belowDownload the SimNIBS Linux 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 https://github.com/simnibs/simnibs/releases/download/v4.5.0/simnibs-4.5.0-cp311-cp311-linux_x86_64.whl # change to the correct version
(Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the
postinstall_simnibsscript:
mkdir $HOME/SimNIBS postinstall_simnibs --setup-links -d $HOME/SimNIBS
MacOS¶
Download and install the Miniconda Python 3 distribution.
Locate the appropriate wheel for MacOS on the release page (see latest), copy its address, and feed this directly to
pip installas shown belowDownload the SimNIBS OSX environment file
Run the following 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/download/v4.5.0/simnibs-4.5.0-cp311-cp311-macosx_11_0_arm64.whl
(Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the
postinstall_simnibsscript:
mkdir -p $HOME/Applications/SimNIBS postinstall_simnibs --setup-links -d $HOME/Applications/SimNIBS