Skip to content

Instantly share code, notes, and snippets.

@christianrickert
Created June 10, 2023 21:01
Show Gist options
  • Save christianrickert/c5d01459e4bca09fd58d0848412052f7 to your computer and use it in GitHub Desktop.
Save christianrickert/c5d01459e4bca09fd58d0848412052f7 to your computer and use it in GitHub Desktop.
install `cellpose` on MacOS with `conda` and `pip`
# remove previous conda environment (optional)
conda deactivate
conda remove --name cellpose --all
# create your `cellpose` environment
conda create --name cellpose
# install dependencies and `cellpose[gui]` package from `conda-forge`
conda activate cellpose
conda install -c conda-forge pyqt pyqtgraph 'cellpose[gui]'
# add missing new dependencies and update `cellpose[gui]` to the latest version
conda install -c conda-forge roifile superqt
pip install --no-deps --upgrade 'cellpose[gui]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment