Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ArguementParser" Undefined #877

Open
cott3 opened this issue Apr 30, 2023 · 1 comment
Open

"ArguementParser" Undefined #877

cott3 opened this issue Apr 30, 2023 · 1 comment

Comments

@cott3
Copy link

cott3 commented Apr 30, 2023

Hello, I have just installed Gooey and wanted to implement it to my program. But when I run it, it still shows a CLI and gives a warning on the code, saying that "ArguementParser" is not defined.

  • [Windows 10 22H2 ] OS
  • [ 3.10.11 64-bit] Python Version
  • [ 1.0.8.1] Gooey Version
  • [ No GUI and VS Code saying that "ArguementParser" is undefined] Thorough description of problem
    • [ Working GUI and no errors] Expected Behavior
    • [ Just told it, duh] Actual Behavior
  • `import os
    import json
    from gooey import Gooey

@gooey
def main():
parser = ArgumentParser(...)
` A minimal code example -- preferably copy/pastable in the issue itself (less time figuring out how to run your code == more time debugging!)

  • [
    image
    ] Screenshot (if visual quirk)
@elad-eyal
Copy link
Contributor

elad-eyal commented May 2, 2023

you forgot from Gooey import ArgumentParser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants