googleapis / googleapis/google-cloud-python

Does this a wheel for web assembly (WASM)

Offen
#15,671 4 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @nidhiii-27 Auf GitHub ansehen
api: storage priority: p3 type: feature request
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

I am trying to compile a python web application using Flet, firebase-admin and pyodide
https://github.com/firebase/firebase-admin-python/issues/771

Firebase-admin throws the error:
Uncaught (in promise) PythonError: 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 "", line 4, in
File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 146, in install
raise ValueError(
ValueError: Can't find a pure Python 3 wheel for: 'google-crc32c<2.0dev,>=1.0', 'grpcio<2.0dev,>=1.49.1; python_version >= "3.11" and extra == "grpc"', 'grpcio<2.0dev,>=1.33.2; extra == "grpc"', 'google-crc32c<2.0dev,>=1.0', 'grpcio>=1.60.1', 'grpcio>=1.60.1'
See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package

at new_error (pyodide.asm.js:9:10014)
at pyodide.asm.wasm:0x158e62
at pyodide.asm.wasm:0x15ff9e
at _PyEM_TrampolineCall_JS (pyodide.asm.js:9:120223)
at pyodide.asm.wasm:0x1a3494
at pyodide.asm.wasm:0x28a2bd
at pyodide.asm.wasm:0x1e431e
at pyodide.asm.wasm:0x1a397d
at pyodide.asm.wasm:0x1a3c3e
at pyodide.asm.wasm:0x1a3ce0
at pyodide.asm.wasm:0x2689a4
at pyodide.asm.wasm:0x26e800
at pyodide.asm.wasm:0x1a3e08
at pyodide.asm.wasm:0x1a3a98
at pyodide.asm.wasm:0x15f76b
at Module.callPyObjectKwargs (pyodide.asm.js:9:64297)
at Module.callPyObject (pyodide.asm.j)

any help would be greatly appreciated!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.