Unable to use local piodide with worker #2046
-
I would like to use PyScript offline and I followed the steps from "Use Offline" section to get it working. I am able to run the "Hello from PyScript" example perfectly fine. However, my project requires use of the terminal and being able to input into the terminal. For this I need to enable "worker" on PyScript. My problem is that when I enable worker, I get the following error: The error message says 'Failed to resolve module specifier '/pyodide/pyodide.mjs'. However, it works fine when I run the same but without the "worker" keyword. Am I doing something wrong or is this a new issue? Additional: TypeError: Failed to resolve module specifier '/pyodide/pyodide.mjs' I inspected the network tab and found the following: I point this out as I noticed that "4c87cef0-a498-4f9c-b604-29b1d7afd74b" also appears in the error message. Could be relevant. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@ninjaclown123 does it work if you use a fully qualified URL for the interpreter? |
Beta Was this translation helpful? Give feedback.
@ninjaclown123 does it work if you use a fully qualified URL for the interpreter?