Skip to content

Python example running error #861

Answered by kaisalmen
greycodee asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @greycodee python does not automatically store files on its file system. Usually it runs as language server in VSCode where the front-end and the language server share the same file system. This is not the case here: Client runs in the browser and the server on the machine. The language server protocol can't enforce the server to add opened files (hello2.py in this case) to its file system and therefore pyright marks the file as not resolvable.

We started work to automatically sync files #834 to prevent such failure cases when the deployment is distributed, but the work is not yet completed.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@greycodee
Comment options

Answer selected by greycodee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants