[Python] VS Code doesn't recognize Python Virtual Environment Packages - It shows red...

Discussão em 'Python' iniciado por Stack, Agosto 1, 2025.

  1. Stack

    Stack Membro Participativo

    I installed python virtual env. I use vs code. I imported scrapy in my code and vs code doesn't recognize the module. Actually, it works well when I run it. scrapy crawl tester Just, vs code shows red underlines that mean "Unable to import scrapy" So this is just vs code issue, not venv or scrapy package install issue. [​IMG]

    This code works well and actuallay, scrapy is imported without any issue. This is just vs code issue. Thank you.

    Continue reading...

Compartilhe esta Página