vscode, pipenv, and and environment variables...

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Post Reply
User avatar
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm

vscode, pipenv, and and environment variables...

Post by Joel_graff »

So I'm trying to sort out how to get vscode to pick up the freecad python libs (like pivy).

I've tried following the only information I've found, which suggests creating a .env file in the project directory where pipenv installed the environment. I added the Python path to it, but it still tells me it can't import pivy.

Are there any suggestions on how I can trouble shoot this? Still kinda new to working with python virtual environments.
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
Post Reply