I cannot for the life of me get VS Code to run Python 3. I've installed Python 3 and followed several VS Code tutorials to get it set up. I've set the user settings to point to my install of Python 3: "python.pythonPath": "/usr/local/bin/python3"
However, every time I run python in the terminal within VSC, it is Python 2.7. When I try to install anything using pip, I get warnings that 2.7 will no longer be supported etc.
As an example, when I try to install something with pip, I get the following error:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/urllib3-1.25.3.dist-info' Consider using the
--useroption or check the permissions.
Any ideas? It's driving me crazy that I simply can't get VSC to switch to Python 3.
