Import "bpy" could not be resolved Pylancereport(MissingImports) in Python 3.10.2 + Blender API + VS Code

I'm trying to develop a Blender 3D script using VS Code. But when I import bpy I get this message:

Import "bpy" could not be resolved Pylancereport(MissingImports)

  • VSCode: 1.63.2
    • Python extension: v2021.12.1559732655
    • Blender Development extension: v0.0.16
  • Python 3.10.2
  • Windows 10
  • Blender 3D: 3.0

I've installed fake-bpy-module-3.0.

How could I use Blender modules inside VS Code?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum