2

Inslalled module

VS code error message

I've already installed the module "pandas" through pip3, and it's visible through pip3 list. But VS code still showing the error message. I was trying to set up some breakpoints to test my code in VS code. It works fine while in the terminal.

Rrobinvip
  • 109
  • 1
  • 8

1 Answers1

3

Have you selected the correct Python Interpreter inside of VSCode?

If you have the Python extension installed, you can go into your command palette (Ctrl+Shift+P or Cmd+Shift+P or F1), type in Python: Select Interpreter, select the correct environment and VSCode should be able to recognize it.

In case that's the issue :)

wjandrea
  • 28,235
  • 9
  • 60
  • 81
roo1989
  • 86
  • 4
  • where do I find command prompt? Excuse me I'm pretty new – Rrobinvip Oct 02 '20 at 14:23
  • 1
    Open the Command Palette (⇧⌘P), depending on the operating system. Should be ctrl+shift+p. Docs: https://code.visualstudio.com/docs/getstarted/userinterface – roo1989 Oct 02 '20 at 14:25