mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
open-webui@0.2.0 build ModuleNotFoundError: No module named 'micropip' #1098
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tqangxl on GitHub (Jun 2, 2024).
Bug Report
Description
PS D:\Lib\Dev\AI\open-webui\open-webui> npm run build
Setting up pyodide + micropip
if(shouldRunNow)callMain(args);postRun()}if(Module["setStatus"]){Module"setStatus";setTimeout(function(){setTimeout(function(){Module"setStatus"},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;run();moduleRtn=readyPromise;
PythonError: Traceback (most recent call last):
File "/lib/python312.zip/_pyodide/_base.py", line 629, in pyimport_impl
res = import(stem, fromlist=fromlist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'micropip'
The module 'micropip' is included in the Pyodide distribution, but it is not installed.
You can install it by calling:
await micropip.install("micropip") in Python, or
await pyodide.loadPackage("micropip") in JavaScript
See https://pyodide.org/en/stable/usage/loading-packages.html for more details.
type: 'ModuleNotFoundError',
__error_address: 16927776
}
Node.js v20.13.1
Bug Summary: