diff --git a/core/src/plugins/py-game.js b/core/src/plugins/py-game.js index 0f0df42c..e95b0851 100644 --- a/core/src/plugins/py-game.js +++ b/core/src/plugins/py-game.js @@ -33,6 +33,7 @@ const hooks = { config = parse(text); } if (config.packages) { + await wrap.interpreter.loadPackage("micropip"); const micropip = wrap.interpreter.pyimport("micropip"); await micropip.install(config.packages, { keep_going: true, diff --git a/core/tests/index.html b/core/tests/index.html index 7ea784ba..08ef0c69 100644 --- a/core/tests/index.html +++ b/core/tests/index.html @@ -14,5 +14,5 @@ a:hover { opacity: 1; } -