bidskit icon indicating copy to clipboard operation
bidskit copied to clipboard

Cannot debug bidskit

Open gauvinalexandre opened this issue 1 year ago • 0 comments

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)

gauvinalexandre avatar Aug 15 '23 15:08 gauvinalexandre