Unet4nuclei module in Cellprofiler 3.19

Failed to load Unet4nuclei

I tried to load the Unet4nuclei in Cellprofiler 3.19 and failed. Please help.



Traceback (most recent call last):
File “CellProfiler\cellprofiler\modules_init_.py”, line 325, in add_module
File “F:\HCA\CellprofilerPlugin\unet4nuclei-master\unet4nuclei\batch_prediction.py”, line 12, in
import pandas as pd
ImportError: No module named pandas
Could not load config
Traceback (most recent call last):
File “CellProfiler\cellprofiler\modules_init_.py”, line 326, in add_module
File “CellProfiler\cellprofiler\modules_init_.py”, line 313, in find_cpmodule
ValueError: Could not find cellprofiler.module.Module class in F:\HCA\CellprofilerPlugin\unet4nuclei-master\unet4nuclei\config.py
could not load these modules: batch_prediction,config

Hi @John_Yu,

It looks like you’re trying to load in an external plugin which requires the Python package Pandas. This isn’t included in the default CellProfiler package.

Assuming you’re using a version that’s been built from source, you’ll want to open Command Prompt/Terminal and enter pip install pandas , which should add this package.

Hope that helps!

Thank you so much for giving the solotion. I will check if it works.

Happy Holidays!


1 Like