Had been having a rough time installing from source, and then had thumbnail fetching issue that might have been related to sqlite/mysqlclient solved by changing properties file, so I’m taking notes for my own reference for future installs, maybe someone else will benefit. Am new at this, so be warned, may not work for you.
System: Windows 10 64-bit, python 2.7.13
Installing cellprofiler 3.1.8 from source ( f3d7752):
-Did not use the conda installation, which seemed to prefer incorrect wxpython version (could probably be installed after creating environment, didn’t check if this fixed).
-Changed setup.py line: “mysqlclient==1.3.13” to “mysqlclient==1.4.1” which seemed to be the preferred version for python 2.7
-Downloaded mysql connector 6.0.2 and installed. Had to copy from Program File to Program Files(x86) to ensure that mysqlclient can find ‘config-win.h’ and ‘mysql.h’. Be sure to select 6.0.2, other versions led to same fatal error C1083 stuff.
-Also installed MySQL-python-1.2.5
pip install -e ., cellprofiler now runs from cmd
Installing cellprofiler analyst 2.2.1 ( 7e194e7):
-Followed steps on wiki, no issues, did not attempt to make .exe
-Previously, had issues after trying conda installation of cell profiler, or (as expected) after installing CellProfiler 3.1.8 stable build.
I used my cell profiler pipeline, identified primary objects, filtered those objects, then exported to sqlite database. Ran Cellprofiler analyst, images load fine in image gallery, but upon fetching objects in Classifier, got the following error:
INFO:root:Fetched 20 random cells from whole experiment
INFO:root:20 is greater than the number of objects. Fetching 0 objects.
This was fixed by setting check_tables=no in the properties file. Now everything is working and I can classify and Score Image using models other than Fast Gentle Boosting. This is huge, and will save me days of work compared to sticking with the stable build and fast gentle boosting. Thanks again to the Cellprofiler team, and here’s hoping a funded Cellprofiler Analyst is in the future