In Dockerfile,
RUN npm run build
in package.json,
"pyodide:fetch": "node scripts/prepare-pyodide.js"
in prepare-pyodide.js,
when it wanted to download packages in these lines :
Loading numpy
Didn't find package numpy-1.26.4-cp312-cp312-pyodide_2024_0_wasm32.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Failed to load numpy
The following error occurred while loading numpy:
fetch failed
Installing package: pandas
Loading numpy, pandas, python-dateutil, pytz, six
Didn't find package numpy-1.26.4-cp312-cp312-pyodide_2024_0_wasm32.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package pandas-2.2.0-cp312-cp312-pyodide_2024_0_wasm32.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package python_dateutil-2.9.0.post0-py2.py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package six-1.16.0-py2.py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package pytz-2024.1-py2.py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
The following error occurred while loading numpy:
fetch failed
Failed to load numpy, pandas, python-dateutil, pytz, six
The following error occurred while loading pandas:
fetch failed
The following error occurred while loading python-dateutil:
fetch failed
The following error occurred while loading six:
fetch failed
.
.
.
Originally created by @vahidodin on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6249
In Dockerfile,
RUN npm run build
in package.json,
"pyodide:fetch": "node scripts/prepare-pyodide.js"
in prepare-pyodide.js,
when it wanted to download packages in these lines :
```
try {
for (const pkg of packages) {
console.log(`Installing package: ${pkg}`);
await micropip.install(pkg);
}
} catch (err) {
console.error('Package installation failed:', err);
return;
}
```
I got this error :
```
Loading numpy
Didn't find package numpy-1.26.4-cp312-cp312-pyodide_2024_0_wasm32.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Failed to load numpy
The following error occurred while loading numpy:
fetch failed
Installing package: pandas
Loading numpy, pandas, python-dateutil, pytz, six
Didn't find package numpy-1.26.4-cp312-cp312-pyodide_2024_0_wasm32.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package pandas-2.2.0-cp312-cp312-pyodide_2024_0_wasm32.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package python_dateutil-2.9.0.post0-py2.py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package six-1.16.0-py2.py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
Didn't find package pytz-2024.1-py2.py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.26.1/full/
The following error occurred while loading numpy:
fetch failed
Failed to load numpy, pandas, python-dateutil, pytz, six
The following error occurred while loading pandas:
fetch failed
The following error occurred while loading python-dateutil:
fetch failed
The following error occurred while loading six:
fetch failed
.
.
.
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @vahidodin on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6249
In Dockerfile,
RUN npm run build
in package.json,
"pyodide:fetch": "node scripts/prepare-pyodide.js"
in prepare-pyodide.js,
when it wanted to download packages in these lines :
I got this error :