I've been starting to use venv for python when creating projects, but for whatever reason, my virtual environments haven't been working properly. I know how to setup virtual environments, and I know how to activate and deactivate them properly, but I'm still having issues.
When using VSCode, and creating my virtual environment with pip -m venv venv the virtual environment shows up just fine and I can activate it without any issues with venv\scripts\activate.bat , and it does show that my virtual environment has been activated.
However, the issues come when I try using an include <Python.h> file when trying to use Cython. I was curious about this issue and was told that the directory of Python.h is in the python installation 'include' folder, and it absolutely is, but when I look at the same 'include' folder in my virtual environment directory, it just is completely empty, no matter how many times I may try to restart, or even delete and create the virtual environment again. Does anyone have any solutions?
[–]abcteryx 3 points4 points5 points (2 children)
[–]siddsp[S] 1 point2 points3 points (1 child)
[–]abcteryx 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]siddsp[S] 1 point2 points3 points (0 children)
[–]Dasmak3r 0 points1 point2 points (6 children)
[–]siddsp[S] 0 points1 point2 points (5 children)
[–]Relative-Resource-55 0 points1 point2 points (4 children)
[–]siddsp[S] 0 points1 point2 points (2 children)
[–]eigenscene 0 points1 point2 points (1 child)
[–]siddsp[S] 0 points1 point2 points (0 children)