Skip to content

TypeError: _detect_vcs() missing 2 required positional arguments: 'expected_vcs' and 'path' #35

@uni987

Description

@uni987

What is a nice job!
There is something wrong. I have installed the right version anndata2ri==1.0.6. However, when importing anndata2ri, I am getting a TypeError. How can I troubleshoot this issue? (I check Requires of anndata2ri: get_version-Version: 3.5.4. May I know which version of get_version you are using?

---> 15 import anndata2ri
16 anndata2ri.activate()

File ~/.conda/envs/commot3/lib/python3.8/site-packages/anndata2ri/init.py:26
22 from get_version import get_version
25 author = "Philipp Angerer"
---> 26 version = get_version(file)
29 def within_flit():
30 for frame in traceback.extract_stack():

File ~/.conda/envs/commot3/lib/python3.8/site-packages/get_version/init.py:273, in get_version(package, dist_name, vcs)
271 for method in methods:
272 try:
--> 273 version = method(parent)
274 except NoVersionFound as e:
275 errors.append(e)

File ~/.conda/envs/commot3/lib/python3.8/site-packages/get_version/init.py:118, in get_version_from_vcs(parent, vcs)
116 parent = parent.resolve()
117 try:
...
--> 151 vcs_e = _detect_vcs()
152 except RuntimeError:
153 return None

TypeError: _detect_vcs() missing 2 required positional arguments: 'expected_vcs' and 'path'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions