Skip to content

ImportError: cannot import name 'Events' from 'gooey' when running python3.8 examples/lifecycle_hooks.py #36

@abrichr

Description

@abrichr

Describe the bug
running python3.8 examples/lifecycle_hooks.py generates an exception: `ImportError: cannot import name 'Events' from 'gooey'.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/chriskiehl/GooeyExamples.git
  2. cd GooeyExamples
  3. pip install -r requirements.txt
  4. python3.8 examples/lifecycle_hooks.py
  5. Observe exception:
Traceback (most recent call last):
  File "examples/lifecycle_hooks.py", line 4, in <module>
    from gooey import Events, Gooey, GooeyParser
ImportError: cannot import name 'Events' from 'gooey' (/.../python3.8/site-packages/gooey/__init__.py)

Expected behavior
Example runs without error

Desktop (please complete the following information):

  • OS: MacOS 12.0.1

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