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

In Shinylive "Testing whether a package is available" page, code should have await #4

Open
wch opened this issue Oct 19, 2023 · 0 comments

Comments

@wch
Copy link
Contributor

wch commented Oct 19, 2023

On https://shiny.posit.co/py/docs/shinylive.html#testing-whether-a-package-is-available, the code says this:

import micropip
micropip.install("mypackage")
import mypackage

But it should have an await, as in:

import micropip
await micropip.install("mypackage")
import mypackage
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

1 participant