Installation
License and Attribution Notice
MultiCellPose includes and modifies components from Cellpose.
Original copyright © 2020 Howard Hughes Medical Institute.
Original contributors include Marius Pachitariu and Carsen Stringer.
Distributed under the BSD 3-Clause License.
This project is an independent derivative work and is not endorsed by HHMI or the original contributors.
Full license text: MultiCellPose License
1. Installation Recommended (PyPI)
Step 1: Open Anaconda Prompt (Windows) or terminal (Linux/macOS)
Create and activate a clean environment:
conda create -n multicellpose python=3.10 -y
conda activate multicellposeIf Conda prompts for Terms of Service acceptance, run:
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/msys2Step 2: Install PyTorch first (choose CPU or GPU)
GPU users: check your CUDA version first (Windows):
nvidia-smiLook for CUDA Version: X.Y. Then install the matching PyTorch wheel:
- CUDA 12.6+:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126- CUDA 12.1:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121- CUDA 11.8:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118CPU-only:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpuStep 3: Install MultiCellPose
pip install multicellpose[gui]This installs GUI, server/client communication dependencies, and image readers (.nd2, .lif, .nrrd) by default.
Step 4: Launch
multicellpose-guiManual installation (if you will edit the code)
If Git is not installed, download it from:
Open Git CMD and clone the repo
- Open Git CMD (Start Menu -> search “Git CMD”).
- Choose a folder where you want the project to live (example:
C:\Projects). - In Git CMD, run:
cd C:\Projects
git clone https://github.com/mrcsfltchr/multicellposerelease.git
cd MultiCellPose2. Install Miniconda and create an environment
Download Miniconda (Windows x86_64):
Open Anaconda Prompt
- Open Anaconda Prompt (Start Menu -> search “Anaconda Prompt”).
- Navigate to the repo folder (example below):
cd C:\Projects\MultiCellPoseCreate and activate the environment:
conda create -n multicellpose python=3.10 -y
conda activate multicellposeIf Conda prompts for Terms of Service acceptance, run:
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/msys23. Install PyTorch (CPU or GPU)
Check your CUDA version:
nvidia-smiInstall the matching PyTorch wheel:
# CUDA 12.6+
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
# CUDA 12.1
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
# CUDA 11.8
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
# CPU-only
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu4. Install dependencies and the app
pip install numpy scipy pandas scikit-image pyqt6 pyqt6.sip qtpy pyqtgraph superqt natsort tifffile fastremap tqdm matplotlib
pip install grpcio grpcio-tools protobuf
pip install -e ".[all]"5. Launch the GUI
python -m guv_app.main