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

Example Jupyterlite notebook in docs doesn't connect to a kernal #87

Open
dwootton opened this issue Feb 15, 2023 · 0 comments
Open

Example Jupyterlite notebook in docs doesn't connect to a kernal #87

dwootton opened this issue Feb 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dwootton
Copy link

Description

The example notebook embedded in "configuration" in the docs doesn't work for me.
image

Reproduce

Go to configuration page: https://jupyterlite-sphinx.readthedocs.io/en/latest/configuration.html
Try to use the jupyterlite notebook.
For me it says kernal unknown

Expected behavior

I would expect it to work

Context

Here's one of the errors from the dev tools console:
Uncaught (in promise) PythonError: Traceback (most recent call last):
File "/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception
File "/lib/python3.10/asyncio/tasks.py", line 234, in __step
result = coro.throw(exc)
File "/lib/python3.10/_pyodide/_base.py", line 531, in eval_code_async
await CodeRunner(
File "/lib/python3.10/_pyodide/_base.py", line 359, in run_async
await coroutine
File "", line 5, in
File "/lib/python3.10/asyncio/futures.py", line 284, in await
yield self # This tells Task to wait for completion.
File "/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
future.result()
File "/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception
File "/lib/python3.10/asyncio/tasks.py", line 234, in __step
result = coro.throw(exc)
File "/lib/python3.10/site-packages/piplite/piplite.py", line 102, in _install
return await _micropip.install(
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 573, in install
await transaction.gather_requirements(requirements)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 333, in gather_requirements
await gather(*requirement_promises)
File "/lib/python3.10/asyncio/futures.py", line 284, in await
yield self # This tells Task to wait for completion.
File "/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
future.result()
File "/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception
File "/lib/python3.10/asyncio/tasks.py", line 234, in __step
result = coro.throw(exc)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 340, in add_requirement
return await self.add_requirement_inner(Requirement(req))
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 448, in add_requirement_inner
await self.add_wheel(wheel, req.extras)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 463, in add_wheel
await self.gather_requirements(wheel.requires(extras))
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 333, in gather_requirements
await gather(*requirement_promises)
File "/lib/python3.10/asyncio/futures.py", line 284, in await
yield self # This tells Task to wait for completion.
File "/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
future.result()
File "/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception
File "/lib/python3.10/asyncio/tasks.py", line 234, in __step
result = coro.throw(exc)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 337, in add_requirement
return await self.add_requirement_inner(req)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 448, in add_requirement_inner
await self.add_wheel(wheel, req.extras)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 463, in add_wheel
await self.gather_requirements(wheel.requires(extras))
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 333, in gather_requirements
await gather(*requirement_promises)
File "/lib/python3.10/asyncio/futures.py", line 284, in await
yield self # This tells Task to wait for completion.
File "/lib/python3.10/asyncio/tasks.py", line 304, in __wakeup
future.result()
File "/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception
File "/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 337, in add_requirement
return await self.add_requirement_inner(req)
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 418, in add_requirement_inner
if self.check_version_satisfied(req):
File "/lib/python3.10/site-packages/micropip/_micropip.py", line 364, in check_version_satisfied
raise ValueError(
ValueError: Requested 'packaging>=22.0', but packaging==21.3 is already installed

at new_error (cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.js:10:179954)
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at method_call_trampoline (cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.js:10:229349)
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.wasm
at Module.callPyObjectKwargs (cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.js:10:123403)
at Module.callPyObject (cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.js:10:123781)
at wrapper (cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.asm.js:10:219389)
@dwootton dwootton added the bug Something isn't working label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant