YangLabHKUST / STitch3D

Construction of a 3D whole organism spatial atlas by joint modeling of multiple slices
https://stitch3d-tutorial.readthedocs.io/en/latest/index.html#
MIT License
52 stars 2 forks source link

install error #26

Closed summus-kong closed 9 months ago

summus-kong commented 10 months ago

Dear professor, When I install STich3D using conda, an error was occured as below, how can i solve it? Thank you! Traceback (most recent call last): File "", line 1, in File "/public/home/wbhou/.local/lib/python3.8/site-packages/STitch3D/init.py", line 1, in import STitch3D.utils File "/public/home/wbhou/.local/lib/python3.8/site-packages/STitch3D/utils.py", line 2, in import scanpy as sc File "/public/home/wbhou/.local/lib/python3.8/site-packages/scanpy/init.py", line 18, in from . import datasets, logging, queries, external, get File "/public/home/wbhou/.local/lib/python3.8/site-packages/scanpy/external/init.py", line 3, in from . import pp File "/public/home/wbhou/.local/lib/python3.8/site-packages/scanpy/external/pp/init.py", line 5, in from ._magic import magic File "/public/home/wbhou/.local/lib/python3.8/site-packages/scanpy/external/pp/_magic.py", line 7, in from legacy_api_wrap import legacy_api File "/public/home/wbhou/.local/lib/python3.8/site-packages/legacy_api_wrap.py", line 21, in version = get_version(file) File "/public/home/wbhou/.local/lib/python3.8/site-packages/get_version/init.py", line 273, in get_version version = method(parent) File "/public/home/wbhou/.local/lib/python3.8/site-packages/get_version/init.py", line 118, in get_version_from_vcs vcs_root = find_vcs_root(parent, vcs=vcs) File "/public/home/wbhou/.local/lib/python3.8/site-packages/get_version/init.py", line 151, in find_vcs_root vcs_e = _detect_vcs() TypeError: _detect_vcs() missing 2 required positional arguments: 'expected_vcs' and 'path'

gefeiwang commented 10 months ago

Hi there,

please check if the solution here can help you solve the issue or not: https://github.com/YangLabHKUST/STitch3D/issues/25.

Best, Gefei

summus-kong commented 9 months ago

Dear Professor Geifei,

Got it! Thanks for your explanation! Very appreciated!

Best regards, Summus