-
Notifications
You must be signed in to change notification settings - Fork 47
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
Sharing Page Unconvertable App #79
Labels
bug
Something isn't working
Comments
Hi @firobeid The issue with ValueError: Can't find a pure Python 3 wheel for: 'pynacl>=1.4.0'
ValueError: Can't find a pure Python 3 wheel for 'aiohttp==3.8.1'.
See: https://pyodide.org/en/stable/usage/faq.html#micropip-can-t-find-a-pure-python-wheel
You can use `micropip.install(..., keep_going=True)`to get a list of all packages with missing wheels. Reproducible Examplefrom github import Github
import pandas as pd
import panel as pn
pn.extension(sizing_mode="stretch_width")
token = pn.widgets.PasswordInput(name='Github Token', placeholder='Enter your Github Token here...', max_width=500)
@pn.depends(token)
def get_repos(token):
if not token:
return "No token provided"
g = Github(token)
repositories = g.get_user().get_repos()
return pd.DataFrame({
"repository": [repository.name for repository in repositories]
})
pn.Column(
token, pn.panel(get_repos, loading_indicator=True)
).servable() |
I've made a request for supporting pynacl here pyodide/pyodide#3327. |
Thank you Marc! I will male sure to request there directly for future packages. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Failed to convert. Make sure you only import packages already installed on the
server.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
exec(self._code, module.dict)
File "/tmp/tmpx7l4lfpo/source/app.py", line 7, in
from github import Github
ModuleNotFoundError: No module named 'github'
Reproduction steps
Failed to convert. Make sure you only import packages already installed on the
server.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
exec(self._code, module.dict)
File "/tmp/tmpx7l4lfpo/source/app.py", line 7, in
from github import Github
ModuleNotFoundError: No module named 'github'
Requirements
Code
Logs
No response
Additional Context
Package dosent have wasm or none wheel
The text was updated successfully, but these errors were encountered: