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

Update express-vs-core.qmd #101

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

arky
Copy link
Contributor

@arky arky commented Feb 7, 2024

Fixes error reactive import error.

Error starting app!

Traceback (most recent call last):
  File "<exec>", line 379, in _start_app
  File "<exec>", line 357, in __init__
  File "/lib/python3.10/site-packages/shiny/express/_run.py", line 44, in wrap_express_app
    app_ui = run_express(file).tagify()
  File "/lib/python3.10/site-packages/shiny/express/_run.py", line 102, in run_express
    exec(
  File "/home/pyodide/app_x7uqm6vkbdy1yz4ytu34/app.py", line 2, in <module>
    from shiny.express import reactive, render
ImportError: cannot import name 'reactive' from 'shiny.express' (/lib/python3.10/site-packages/shiny/express/__init__.py) 

Fixes error reactive import error.

```
Error starting app!

Traceback (most recent call last):
  File "<exec>", line 379, in _start_app
  File "<exec>", line 357, in __init__
  File "/lib/python3.10/site-packages/shiny/express/_run.py", line 44, in wrap_express_app
    app_ui = run_express(file).tagify()
  File "/lib/python3.10/site-packages/shiny/express/_run.py", line 102, in run_express
    exec(
  File "/home/pyodide/app_x7uqm6vkbdy1yz4ytu34/app.py", line 2, in <module>
    from shiny.express import reactive, render
ImportError: cannot import name 'reactive' from 'shiny.express' (/lib/python3.10/site-packages/shiny/express/__init__.py) 
```
Copy link
Contributor

@gshotwell gshotwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cpsievert cpsievert merged commit 06d547c into posit-dev:main Feb 9, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

3 participants