kolibril13 / pyscript-emoji-skimage

PyScript applet that applies scikit-image algorithms to emojis
https://kolibril13.github.io/pyscript-emoji-skimage/
MIT License
3 stars 2 forks source link

error line 1 ^ SyntaxError: invalid syntax ) #11

Open pleabargain opened 1 year ago

pleabargain commented 1 year ago

JsException(PythonError: Traceback (most recent call last): File "/lib/python3.10/site-packages/_pyodide/_base.py", line 421, in eval_code CodeRunner( File "/lib/python3.10/site-packages/_pyodide/_base.py", line 237, in init self.ast = next(self._gen) File "/lib/python3.10/site-packages/_pyodide/_base.py", line 141, in _parse_and_compile_gen mod = compile(source, filename, mode, flags | ast.PyCF_ONLY_AST) File "", line 1 ^ SyntaxError: invalid syntax )

I tried running as html locally. It failed with above error.

kolibril13 commented 1 year ago

I use the VS Code Live Server Preview, that does work.