FreeCAD environment installed with Conda does not work in VSCode/ Pylance?

36 Views Asked by At

I installed the FreeCAD conda environment hoping that it would provide code complete to help me write a macro. However the imports only work if I include:

import freecad

before

import FreeCAD
import Fem

along with this VSCode does not provide code complete for Fem, Mesh and other libraries even though their imports do not throw errors when I run the code, I'm pretty sure I have chosen the environment in VSCode correctly so I am unsure why these errors occur.

0

There are 0 best solutions below