Closed playgamemy closed 1 year ago
Hi!!
I think you must have ran it on windows os, you can set the n_jobs
to 1 to avoid this error temporarily, and, i looked for a PR on git repo of Hotspot in which I notice that the bug has been fixed and the PR has been merged to master,but the pacakge is not yet distributed, so we can not upgrade directly by running pip install, if you want to run on multiprocessing, you can try to install by source code or run it on Linux.
@playgamemy
You can install the latest version hotspot by running pip install --no-deps git+https://github.com/YosefLab/Hotspot.git
, and you need to uninstall the installed one beforehand.
I tryed to run it and the error has not happened.
Following the tutorial listed in here for spatial hotspot analysis: https://stereopy.readthedocs.io/en/latest/Tutorials/Spatial_Hotspot.html
Any n_jobs > 1 will lead to error below. Function run properly if n_jobs=1. Seems to be a bug with the "hotspotsc" package that is going to be fixed. https://github.com/YosefLab/Hotspot/pull/26