Skip to content

Can't run python code in VSCode.dev #17912

Answered by brettcannon
molly-w asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, this is normal. In order for Python to run in the browser it would need to be either ported to JavaScript or compiled to WebAssembly somehow.

You can try https://marketplace.visualstudio.com/items?itemName=joyceerhl.vscode-pyodide which lets you run Jupyter notebooks in the browser via vscode.dev. I am also starting to look at what it would take to get Python in the browser, so there's hope.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@molly-w
Comment options

Answer selected by molly-w
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-environments Features relating to handling interpreter environments
3 participants