CellProfiler 3.0.0 startup issue on Windows 10

installation
cellprofiler3
windows

#1

I was trying to get a new CellProfiler (3.0.0) installation running on a Windows 10 system, but am running into troubles. Here’s what I did:

I get the following exceptions:

Could not load cellprofiler.modules.calculatestatistics
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\calculatestatistics.py", line 153, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.displayplatemap
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\displayplatemap.py", line 45, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.editobjectsmanually
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\editobjectsmanually.py", line 68, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadimages.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.enhanceorsuppressfeatures
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\enhanceorsuppressfeatures.py", line 36, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.exporttodatabase
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\exporttodatabase.py", line 87, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.exporttospreadsheet
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\exporttospreadsheet.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.filterobjects
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\filterobjects.py", line 73, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.flagimage
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\flagimage.py", line 52, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.groups
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\groups.py", line 4, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.identifyobjectsingrid
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\identifyobjectsingrid.py", line 65, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.identifyprimaryobjects
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\identifyprimaryobjects.py", line 19, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.identifysecondaryobjects
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\identifysecondaryobjects.py", line 9, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\threshold.py", line 32, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.identifytertiaryobjects
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\identifytertiaryobjects.py", line 17, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.images
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\images.py", line 15, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.loadimages
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadimages.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.loadsingleimage
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadsingleimage.py", line 79, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.loaddata
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loaddata.py", line 229, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadimages.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.metadata
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\metadata.py", line 14, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureimageintensity
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureimageintensity.py", line 9, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureimageoverlap
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureimageoverlap.py", line 106, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureimagequality
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureimagequality.py", line 154, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadimages.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureobjectintensity
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureobjectintensity.py", line 15, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureobjectoverlap
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureobjectoverlap.py", line 75, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureobjectsizeshape
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureobjectsizeshape.py", line 26, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.measureobjectintensitydistribution
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\measureobjectintensitydistribution.py", line 24, in <module>
  File "CellProfiler\cellprofiler\modules\measureobjectintensitydistribution.py", line 11, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.namesandtypes
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\namesandtypes.py", line 13, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.saveimages
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\saveimages.py", line 46, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadimages.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.smooth
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\smooth.py", line 37, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.straightenworms
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\straightenworms.py", line 105, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.threshold
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\threshold.py", line 32, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.trackobjects
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\trackobjects.py", line 26, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Could not load cellprofiler.modules.untangleworms
Traceback (most recent call last):
  File "CellProfiler\cellprofiler\modules\__init__.py", line 321, in add_module
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\untangleworms.py", line 125, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
could not load these modules: cellprofiler.modules.calculatestatistics,cellprofiler.modules.displayplatemap,cellprofiler.modules.editobjectsmanually,cellprofiler.modules.enhanceorsuppressfeatures,cellprofiler.modules.exporttodatabase,cellprofiler.modules.exporttospreadsheet,cellprofiler.modules.filterobjects,cellprofiler.modules.flagimage,cellprofiler.modules.groups,cellprofiler.modules.identifyobjectsingrid,cellprofiler.modules.identifyprimaryobjects,cellprofiler.modules.identifysecondaryobjects,cellprofiler.modules.identifytertiaryobjects,cellprofiler.modules.images,cellprofiler.modules.loadimages,cellprofiler.modules.loadsingleimage,cellprofiler.modules.loaddata,cellprofiler.modules.metadata,cellprofiler.modules.measureimageintensity,cellprofiler.modules.measureimageoverlap,cellprofiler.modules.measureimagequality,cellprofiler.modules.measureobjectintensity,cellprofiler.modules.measureobjectoverlap,cellprofiler.modules.measureobjectsizeshape,cellprofiler.modules.measureobjectintensitydistribution,cellprofiler.modules.namesandtypes,cellprofiler.modules.saveimages,cellprofiler.modules.smooth,cellprofiler.modules.straightenworms,cellprofiler.modules.threshold,cellprofiler.modules.trackobjects,cellprofiler.modules.untangleworms
Traceback (most recent call last):
  File "CellProfiler.py", line 8, in <module>
  File "CellProfiler\cellprofiler\__main__.py", line 152, in main
  File "CellProfiler\cellprofiler\gui\app.py", line 55, in __init__
  File "site-packages\wx-3.0-msw\wx\_core.py", line 8628, in __init__
  File "site-packages\wx-3.0-msw\wx\_core.py", line 8196, in _BootstrapApp
  File "CellProfiler\cellprofiler\gui\app.py", line 58, in OnInit
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\gui\cpframe.py", line 7, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\gui\figure.py", line 43, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\loadimages.py", line 107, in <module>
  File "c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
  File "CellProfiler\cellprofiler\modules\_help.py", line 235, in <module>
  File "CellProfiler\cellprofiler\modules\_help.py", line 223, in __image_resource
  File "ntpath.py", line 529, in relpath
ValueError: path is on drive E:, start on drive C:
Failed to execute script CellProfiler

I have no idea where the spurious path c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\ is coming from; it doesn’t exist on my system…

Did anyone encounter the same issues before?


#2

Hi,

Can you try installing CP on the C drive rather than the E drive and see if that works better? We’ve had reports of people having issues when not installing on C.


#3

Thanks for the quick reply, @bcimini!

I did install on the C: drive. My installation is in the default path (C:\Program Files (x86)\CellProfiler), so I have no clue why CellProfiler wants to access the E: drive. The only thing that’s pointing to E: is the TEMP path that is configured to E:\temp to avoid that applications fill up the system drive with temporary data on our multi-user systems…

Let me know if there’s anything I can do to help debugging this.

EDIT
I can confirm that CellProfiler starts up successfully if I run set TMP=C:\temp before starting CP. Nevertheless, I think this behavior should be fixed to allow configuring a temp directory on a non-system drive.


CellProfiler 3.0.0 installation issues
#4

Thanks for the clarification and the troubleshooting, apologies for my error! I’ll raise this with our software engineers.


#5

The error I have is a bit different, but maybe related, that is why I am reporting it here rather than separately.

I am running CP3.0 on Windows 10 as well and installed in the default folder just like mentioned above. And CP3.0 starts up fine for me. But it doesn’t start when I want to start it by double clicking on a pipeline stored elsewhere (on a folder on D:\ drive for example). I get the error message I am showing below at the end of the post. The error message repeats multiple times for different modules.

It is quite annoying, unproductive and interferes with saving output files. What I mean is I was accustomed to opening CP by double clicking on .pipe or .proj files and then select “Elsewhere” in the output folder and the results would be saved in the same folder where the pipelines was stored. But now with this error I can’t do that.

Thanks.

Could not load cellprofiler.modules.calculatestatistics
Traceback (most recent call last):
File “CellProfiler\cellprofiler\modules_init_.py”, line 321, in add_module
File “c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 389, in load_module
File “CellProfiler\cellprofiler\modules\calculatestatistics.py”, line 153, in
File “c:\users\admini~1\appdata\local\temp\2\pip-build-wsqbac\pyinstaller\PyInstaller\loader\pyimod03_importers.py”, line 389, in load_module
File “CellProfiler\cellprofiler\modules_help.py”, line 235, in
File “CellProfiler\cellprofiler\modules_help.py”, line 223, in __image_resource
File “ntpath.py”, line 529, in relpath
ValueError: path is on drive C:, start on drive D:


#6

Hi,

Our SWE are working on a fix to all these relpath errors, sorry!


#7

Hi,
another possibly related issue (Win7, CP 3.0.0): we try to set temporary folder on a data drive, but still most of the temp files end up in c:/users/username/appdata/local/temp. Only two hdf5 files appeared in the location we specified.
Best,
Harri