1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] ModuleNotFoundError: No module named 'requests' in vs code

Discussão em 'Python' iniciado por Stack, Setembro 13, 2024.

  1. Stack

    Stack Membro Participativo

    I have installed the latest version of requests as well as of pip. I also checked the pip list and in that ,I found request , requests-file and requests-toolbelt all three with the latest version ,but still i am unable to import the requests module in vs code.

    Any of the help regarding this will be highly appreciated . Thanks in advance

    This is the code I am trying to run

    import json
    import requests

    path='https://dummyjson.com/products'
    def get_data(path):
    r=requests.get(path)
    return r.json()


    I want to the hatch the API along with json

    Continue reading...

Compartilhe esta Página