How do I get Pylint to pick up the FreeCAD libraries so it doesn't show 'import FreeCAD / FreeCADGUI' as an import error?
I can accomplish it on Linux, but doing it in Windows is a bit of a challenge. I do have a functional .pylintrc in my home path, and pylint is picking it up. Just not sure why I can't get it to see the FreeCAD dll's...
VSCode / Pylint on Windows
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
VSCode / Pylint on Windows
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
Re: VSCode / Pylint on Windows
Likely by using similar procedure as here:
https://forum.freecadweb.org/viewtopic. ... 74#p210719
Replacing FreeCAD.so with FreeCAD.pyd.
https://forum.freecadweb.org/viewtopic. ... 74#p210719
Replacing FreeCAD.so with FreeCAD.pyd.
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: VSCode / Pylint on Windows
Right. I was fixated on the DLL's. Despite the fact I use a Win7 machine everyday at work I'm a bit of a noob when it comes to development on windows systems. :/
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
Re: VSCode / Pylint on Windows
Good to hear you sorted it out.