joyceerhl / vscode-pyolite

Run Python code in Jupyter notebooks on github.dev and vscode.dev/github
https://marketplace.visualstudio.com/items?itemName=joyceerhl.vscode-pyodide
75 stars 16 forks source link

Kernel won't start in local notebooks #15

Open apcamargo opened 2 years ago

apcamargo commented 2 years ago

I'm testing the extension in my local machines (VSCode 1.61.2, macOS 11.6 / elementary OS 6) and it seems the kernel won't start. I can get any code to run on it. Is the extension designed to be used on remote machines? If so, what causes it to not work locally?

Thanks!

joyceerhl commented 2 years ago

Thanks for filing a bug--trusted types are strictly enforced for extensions VS Code desktop but not on web, and there's a trusted types issue with this extension on desktop that I haven't found time to track down. This extension is designed to work for VS Code in the web, i.e. github.dev and vscode.dev. Sorry about the inconvenience in the meantime!

apcamargo commented 2 years ago

No problem! I suspected that it wasn't meant to be used locally, but I wanted to know the underlying cause.

Thanks!