Vscode Studio does not recognize external modules

Asked

Viewed 18 times

0

Hi. I went to Visual Code Studio to try to import the requests module. An external python module. The problem is that Visual Code does not recognize this module, and no other external module from what I saw, but if I go at the command prompt, it recognizes.

I also tried it in python IDLE. And it didn’t recognize it. Only the command prompt could import the module. Does anyone know why?

inserir a descrição da imagem aqui

  • Please edit the question to limit it to a specific problem with sufficient detail to identify an appropriate answer.

  • Install this https://marketplace.visualstudio.com/items?itemName=ms-python.python, it is the Intellisense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatter, unit tests, etc for python in Vscode.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.