Skip to content

Overly dramatic appearance on windows on first contact  #94

@mih

Description

@mih

I installed it and naively typed datalad-installer:

C:\Users\mih>datalad-installer
2021-12-18T14:55:30+0100 [INFO    ] datalad_installer Writing environment modifications to C:\Users\mih\AppData\Local\Temp\dl-env-exlo4d0e.sh
Traceback (most recent call last):
  File "C:\Program Files\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\mih\AppData\Roaming\Python\Python39\Scripts\datalad-installer.exe\__main__.py", line 7, in <module>
  File "C:\Users\mih\AppData\Roaming\Python\Python39\site-packages\datalad_installer.py", line 2158, in main
    return manager.main(argv)
  File "C:\Users\mih\AppData\Roaming\Python\Python39\site-packages\datalad_installer.py", line 682, in main
    self.addcomponent(name=cr.name, **cr.kwargs)
  File "C:\Users\mih\AppData\Roaming\Python\Python39\site-packages\datalad_installer.py", line 731, in addcomponent
    component(self).provide(**kwargs)
  File "C:\Users\mih\AppData\Roaming\Python\Python39\site-packages\datalad_installer.py", line 1133, in provide
    raise RuntimeError(f"No viable installation method for {self.NAME}")
RuntimeError: No viable installation method for datalad

Maybe this could become a message without a traceback? Or even something informative, suggesting possible mitigations?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions