Skip to content

Missing cloudpathlib dependency causes ModuleNotFoundError on import #61

@alyssadai

Description

@alyssadai

Starting from v2.1.1, importing bids2table results in a ModuleNotFoundError for cloudpathlib. I believe this is caused by the following PR:

Error

>>> import bids2table as b2t2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\neurobagel\envs\bagel_test_venv\Lib\site-packages\bids2table\__init__.py", line 148, in <module>
    from ._indexing import (
  File "D:\neurobagel\envs\bagel_test_venv\Lib\site-packages\bids2table\_indexing.py", line 18, in <module>
    from cloudpathlib import CloudPath
ModuleNotFoundError: No module named 'cloudpathlib'

To reproduce

pip install bids2table

and then in Python

import bids2table as b2t2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions