You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python3 pyodide/build_and_serve.py
# then in another terminalcd frontend
PYODIDE=true pnpm dev
But I receive the error and screenshot
Traceback (most recent call last): File "/lib/python311.zip/_pyodide/_base.py", line 573, in eval_code_async await CodeRunner( File "/lib/python311.zip/_pyodide/_base.py", line 395, in run_async await coroutine File "<exec>", line 4, in <module> File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 142, in install await transaction.gather_requirements(requirements) File "/lib/python3.11/site-packages/micropip/transaction.py", line 204, in gather_requirements await asyncio.gather(*requirement_promises) File "/lib/python3.11/site-packages/micropip/transaction.py", line 217, in add_requirement await self.add_wheel(wheel, extras=set(), specifier="") File "/lib/python3.11/site-packages/micropip/transaction.py", line 383, in add_wheel await wheel.download(self.fetch_kwargs) File "/lib/python3.11/site-packages/micropip/transaction.py", line 100, in download with ZipFile(data) as zip_file: ^^^^^^^^^^^^^ File "/lib/python311.zip/zipfile.py", line 1301, in __init__ self._RealGetContents() File "/lib/python311.zip/zipfile.py", line 1368, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file
Is there anything that was output in the root level dist directory? Your might need to build the repo once (python build), or just edit any file to trigger a build while running pyodide/build_and_serve.py
Describe the bug
I follow the instruction
But I receive the error and screenshot
Environment
{
"marimo": "0.4.7",
"OS": "Darwin",
"OS Version": "23.0.0",
"Processor": "arm",
"Python Version": "3.12.1",
"Binaries": {
"Browser": "124.0.6367.119",
"Node": "v20.11.0"
},
"Requirements": {
"click": "8.1.3",
"importlib-resources": "missing",
"jedi": "0.19.1",
"markdown": "3.6",
"pymdown-extensions": "10.8",
"pygments": "2.17.2",
"tomlkit": "0.12.4",
"uvicorn": "0.29.0",
"starlette": "0.37.2",
"websocket": "missing",
"typing-extensions": "4.11.0",
"black": "23.3.0"
}
}
Code to reproduce
No response
The text was updated successfully, but these errors were encountered: