I'm trying to edit and save a script in 'vs code' but somehow I'm getting the [Import "bpy" could not be resolved] error in the problems console below.


I tried the solution posted here: Linting Blender Python in VSCode

But adding that line to settings.json will not solve the issue. Any idea what I might be missing?


2 Answers 2


I had the same issue, installing the fake bpy module helped me.


  1. Uninstall Blender Dev

  2. Uninstall Python

  3. Reinstall Python

  4. Reinstall Blender Dev


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .