Skip to content

Cannot debug bidskit #122

@gauvinalexandre

Description

@gauvinalexandre

Bug
I cannot debug bidskit while attempting to understand some errors.

To Reproduce

  1. Go to '$HOME/bidskit/bidskit'
  2. Run python __main__.py
  3. See error:
/home/algo/libs/bidskit/bidskit/__main__.py:38: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Traceback (most recent call last):
  File "/home/algo/libs/bidskit/bidskit/__main__.py", line 41, in <module>
    from . import io as bio
ImportError: attempted relative import with no known parent package

Expected behavior
Shouldn't I be able to run bidskit this way?

Desktop:
Kernel: 6.2.0-27-generic arch: x86_64 bits: 64 compiler: N/A Desktop: Cinnamon v: 5.6.7 tk: GTK
v: 3.24.37 wm: muffin dm: GDM3 Distro: Ubuntu 23.04 (Lunar Lobster)

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