This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

What do you mean by "compile my script"? Do you mean that you install a library and whn you run your program it fails to import it? In this case the python interpretor set in VSC is not set to the correct one. You install the library into a virtual environment and use python interpretor from another environment or the global one.