Skip to content

Optional package imgui-bundle is now mandatory #677

@jcafhe

Description

@jcafhe

Hi,

For the current version in development (main branch commit f0f80c6), when I run a script just simple as below in a native python interpreter:

import fastplotlib

I get a ModuleNotFoundError 'imgui_bundle':

Traceback (most recent call last):
  File "***\minimal.py", line 1, in <module>
    import fastplotlib as fpl
  File "***\fastplotlib\__init__.py", line 19, in <module>
    from .widgets import ImageWidget
  File "***\fastplotlib\widgets\__init__.py", line 1, in <module>
    from .image_widget import ImageWidget
  File "***\fastplotlib\widgets\image_widget\__init__.py", line 1, in <module>
    from ._widget import ImageWidget
  File "***\fastplotlib\widgets\image_widget\_widget.py", line 12, in <module>
    from ._sliders import ImageWidgetSliders
  File "***\fastplotlib\widgets\image_widget\_sliders.py", line 4, in <module>
    from imgui_bundle import imgui, icons_fontawesome_6 as fa
ModuleNotFoundError: No module named 'imgui_bundle'

It seems that imgui is now mandatory even though it is declared as optional in the list of extra requires. Since 0.3 is under developement, do you intend to make imgui-bundle a required package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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