CellProfiler plugins installation instructions - A draft #194
Replies: 4 comments 12 replies
-
I think we want the repo README to point to our docs for install instructions. Beginner-level instructionsBeginner guidance for using plugins in CellProfiler Beginner instructions for installing runCellpose, runStarDist, and all other plugins with CellProfiler from source: Use
ImageJ requirementsIf using the
|
Beta Was this translation helpful? Give feedback.
-
Naive questions:
|
Beta Was this translation helpful? Give feedback.
-
Windows machine:
now if I try
It still gives me the same |
Beta Was this translation helpful? Give feedback.
-
Since my laptop is having issues, I'm trying the instructions in the assaydev VM:
|
Beta Was this translation helpful? Give feedback.
-
I've pushed a simple
setup.py
file to the master branch of the plugins repo. The goal of thissetup.py
file is to define subsets of dependencies for particular plugins. For example, cellpose and stardist are distinct due to troublesome and potentially conflicting dependencies.You can also see in the
setup.py
file the lineinstall_requires = install_deps
, where install_deps just refers tocellprofiler
andcellprofiler_core
, thus ensuring a user has these installed, whether it be from PyPI (4.2.5) or compiled from github (5.0.0). Though, perhaps a minimum version should be set here (ie. >= 4.2.1)So, here would be the steps for installing the plugins:
git clone https://github.com/CellProfiler/CellProfiler-plugins.git
Preferences
and set theCellProfiler plugins directory
to the GitHub repository that you just clonedDistanceTransform
,PixelShuffle
etc.)RunCellPose
plugin, change the directory of your terminal to be inside the cellprofiler plugins repository you downloaded previously withcd CellProfiler-plugins/
pip install -e .[cellpose]
pip install -e .[stardist]
(please note: while having CellPose and StarDist in the same python environment is possible, it has been reported to be troublesome to install, so we recommend to chose either CellPose or StarDist)@ErinWeisbart @fefossa @bethac07
Beta Was this translation helpful? Give feedback.
All reactions