From 5f0ba870fb92baa96c1c847e6ae1fdae608409df Mon Sep 17 00:00:00 2001 From: Jo Bovy Date: Wed, 17 Jan 2024 04:42:03 -0500 Subject: [PATCH] Install ssl first to allow fetching of https content through urllib (#79) --- packages/pyodide-kernel/src/worker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pyodide-kernel/src/worker.ts b/packages/pyodide-kernel/src/worker.ts index 4d10062a..844eecd5 100644 --- a/packages/pyodide-kernel/src/worker.ts +++ b/packages/pyodide-kernel/src/worker.ts @@ -77,6 +77,7 @@ export class PyodideRemoteKernel { protected async initKernel(options: IPyodideWorkerKernel.IOptions): Promise { // from this point forward, only use piplite (but not %pip) await this._pyodide.runPythonAsync(` + await piplite.install(['ssl'], keep_going=True); await piplite.install(['sqlite3'], keep_going=True); await piplite.install(['ipykernel'], keep_going=True); await piplite.install(['comm'], keep_going=True);