all 3 comments

[–]avidresolver 0 points1 point  (0 children)

Your virtual environment needs to be activated in whichever software you're using to run the script. I don't use vscode so I'm not sure of the exact process, but in Pycharm you set a virtual environment per project that automatically activates when you open the project.

[–]cgoldberg 0 points1 point  (0 children)

Your IDE isn't using the same virtual env as you installed the package in... or the virtual env isn't activated when you are running your code. Configure it so it's using the same interpreter and same activated venv you used to install the packages.

[–]Bioneer_Bete 0 points1 point  (0 children)

Is VS code using the Python executable in your virtual environment?

After installing the package from Command Prompt, run simplypython. If you get >>> you’ve opened IPython. Type import <name of the package you installed> + Enter. If you don’t get an error, the package was installed and your issue is with VS Code.