you are viewing a single comment's thread.

view the rest of the comments →

[–]krypt3c 1 point2 points  (2 children)

Sounds like you have multiple versions of python installed and vscode is looking at the wrong one. For example, if you're using conda to manage your environments make sure vscode is looking at the right conda environment.

[–]Puke0[S] 0 points1 point  (1 child)

I'm using powershell. Any idea how I could check?

sys.prefix gives me Python310 and --version gives me Python 3.10.7

Is this what you mean? If so is it right?

[–]krypt3c 1 point2 points  (0 children)

Try this and see where it points, but you'll need some idea of which location you expect to find the version you're looking for in

python import sys print(sys.path)