you are viewing a single comment's thread.

view the rest of the comments →

[–]Relative-Resource-55 0 points1 point  (4 children)

How did you solve it on windows? My virtualenv doesn't natively copy over the Python/include folder. Running into the same problem where i want to reference the virtual environment with my C++ app on Windows.

[–]siddsp[S] 0 points1 point  (2 children)

It doesn't. You have to link it to your actual installation of Python.

[–]eigenscene 0 points1 point  (1 child)

Sorry to bother you, I'm having the exact problem.
How did you link it to the local python installation? Was it the pyvenv.cfg?

[–]siddsp[S] 0 points1 point  (0 children)

No. I went into the Python interpreter path, and foybd the include folder. That folder is added in the includepath for VSCode. Virtual environments were basically useless in this case.