You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JsException(PythonError: Traceback (most recent call last): File "/lib/python3.10/site-packages/_pyodide/_base.py", line 429, in eval_code .run(globals, locals) File "/lib/python3.10/site-packages/_pyodide/_base.py", line 300, in run coroutine = eval(self.code, globals, locals) File "", line 1, in ModuleNotFoundError: No module named 'matplotlib' )
The text was updated successfully, but these errors were encountered:
I think I figured it out. It is a bit surprising. It looks like that indentation matters here just like in the py-script tag.
This worked. Note the zero indentation of the list of packages.
However, for a single package, I was using random indentation and it worked!
When I have a single package name inside py-env tags, my script works. But more than one, and it cannot load anything and throws out exceptions.
This works,
But,
gives,
The text was updated successfully, but these errors were encountered: