JacquesLucke / blender_vscode

Visual Studio Code extension for Blender development.
MIT License
557 stars 76 forks source link

Unable to import 'bpy' pylint(import-error) #51

Closed IamKraZ closed 4 years ago

IamKraZ commented 4 years ago

Hello, I get the error "Unable to import 'bpy' pylint(import-error) [1,1] for anything blender.

Note I'm running Blender 2.80.75, VSCode version 1.38.1, Python 3.7.4 64bit, on a Windows 10 OS, and the latest extensions for Blender Development and Linting, debugging (which Blender Development addon needs).

It also errors on any Blender code.

Any help would be greatly appreciated :)

VSCode pic enclosed.

BlendDevVSCode
JacquesLucke commented 4 years ago

This extension does not deal with autocompletion and linting so far.

You can either disable the linting or use a project like https://github.com/nutti/fake-bpy-module.

Closing because this is not a bug in this extension.