If vscode, on the bottom bar there should be a button that says python, click it and it should list the available interpreters and venvs you have, then you can select the one you want
https://code.visualstudio.com/docs/python/environments
i think VSCode is using a different python interpreter than the one you set up. try running it from the commandline without any vscode involvement
Обсуждают сегодня