-2

I've just installed a Python module, but VSCode can't seem to find it. I have changed my Python Interpreter, but it doesn't work:

My code runs fine in the terminal and PyCharm, but when I run it in VScode, it throws an error:

If you can help me, I would be very grateful.

marsnebulasoup
  • 2,530
  • 2
  • 16
  • 37

1 Answers1

0

Maybe you just are using the Python interpreter from outside your virtual environment?

Try clicking on the interpreter at the bottom left and check for the one in your env.

enter image description here

Guillermo Brachetta
  • 3,857
  • 3
  • 18
  • 36