MouseLand/cellpose

[INSTALL] "OSError: could not get source code" with GUI

Closed this issue · 2 comments

Install problem
Since I couldnt edit missegmented cells with my current installation, I created a fresh environment and installed cellpose[gui]. Then I just opened an image and tried to run cyto3 with the gui. It fails to segment and says "OSError: could not get source code"
I attach relevant details.

Environment info
env.txt

Run log
cmd.txt

It looks like some of the torch library didn't install or get correctly linked. Can you do something like

conda create -n <new env name> # make sure to either completely remove an existing environment first, or choose a new name
conda activate <env name> 
pip install cellpose
pip install cellpose[gui]

And if that doesn't work, install pytorch manually. You can get the command for your OS/install here: https://pytorch.org/ under 'install pytorch'

closing due to inactivity