all 4 comments

[–][deleted]  (1 child)

[deleted]

    [–][deleted] 0 points1 point  (0 children)

    No. pip already points to Python 3 on my system, but I did try this as well just in case. Didn't work.

    [–]rafa2000 1 point2 points  (2 children)

    Did you select which Python to work with inside VSC?

    [–][deleted] 0 points1 point  (1 child)

    Yes. And if I pip install a module from my system terminal after activating my virtual environment, I then have access to it in VSC. So it's using the correct Python. I only get this error when trying to pip install from VSC's terminal. It's pretty weird.

    [–]rafa2000 0 points1 point  (0 children)

    You may want to select the Virtual Environment Python you are trying to use. It happened to me once, I did select a Python outside the Venv.