Skip to content

AttributeError: module 'shiny.ui' has no attribute 'input_task_button'. Did you mean: 'input_action_button'? #1521

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

Closed
francis-bayezian opened this issue Jul 11, 2024 · 3 comments

Comments

@francis-bayezian
Copy link

I am using pyhton 3.12.1 and using shiny-0.10.2 but I get the error AttributeError: module 'shiny.ui' has no attribute 'input_task_button'. Did you mean: 'input_action_button'?

@wch
Copy link
Collaborator

wch commented Jul 11, 2024

Are you sure that you are running Shiny 0.10.2? Sometimes Python environments can get mixed up.

Can you put this at the top of your app to confirm?

import shiny

print(f"Shiny version: {shiny.__version__}")

@francis-bayezian
Copy link
Author

Thank you, the problem is solved now

@wch
Copy link
Collaborator

wch commented Jul 11, 2024

Good to hear that!

@wch wch closed this as completed Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants