#All commands in this guide should be executed inside the Miniforge Prompt (Windows) or Terminal (macOS).
if already have Git installed, skip to step 2
- Download Git for Windows:
https://git-scm.com/install/windows
-
Run the installer and keep all default settings.
-
Open a terminal (Miniforgeprompt on Windows):
git --versionIf a version number is displayed, Git is installed correctly.
-
Open the Terminal.
-
Open a terminal:
-
Windows:
Click the Start menu, search for "Miniforge Prompt", and open it. -
macOS:
PressCmd + Space, type Terminal, and press Enter.
- Check if Git is already installed:
git --version- If a version number appears → Git is ready to use.
- If not, macOS will prompt you to install the Command Line Tools. Confirm the installation.
if you already have miniforge installed, skip to step 3
We use Miniforge to manage Python and all required packages.
It's recommended to not install Anaconda or Miniconda for this setup to avoid dependency conflicts.
- Download Miniforge:
https://github.com/conda-forge/miniforge/releases/latest
-
Run the installer using the default settings.
-
Open a terminal:
-
Windows:
Click the Start menu, search for "Miniforge Prompt", and open it. -
macOS:
PressCmd + Space, type Terminal, and press Enter.
- Verify the installation:
conda --version- If a version number appears → ready to use.
If you have already cloned the repository, skip to Step 4.
In this step, we will download the GitHub repository to your local machine.
If this is your first time using Git, it is recommended to create a dedicated folder for your repositories, for example:
Documents/github-repos
-
Navigate to the directory where you want to store the repository.
-
Open a terminal in that directory.
-
Run:
git clone https://github.com/JoelSchaust/Minimum-Napari-DICOM-setup.git- in the terminal, navigate to the project folder
cd Minimum-Napari-DICOM-setup- check if everything was downloaded correctly
ls - if you get a list of all folders and files -> ready to go
if you already created the environment, skipt to step 5
-
Make sure you are inside the project folder.
-
in the terminal, run the following command to create a new envrinoment
mamba env create -f environment.yml- to activate the environment (if succesful, the name of the environment (dicom-napari) should appear in the front of the line in the terminal)
conda activate dicom-napari- to open Napari, run
napari- If an empty Napari window appears then you are ready to go
error on macos (requires pyqt5?)