I have miniconda installed on my new Mac at:
/opt/miniconda3/bin/python
My .zsh terminal shows the default Python as 2.7:
Python 2.7.16 (default, Dec 21 2020, 23:00:36)
[GCC Apple LLVM 12.0.0 (clang-1200.0.30.4) [+internal-os, ptrauth-isa=sign+stri on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
I am trying to create a venv for a project I want to work on in VSCode. I am navigating to the folder and typing:
20:38:54:~/Documents/Python_Projects/pword_proj % pip3 install virtualenv
and I get this error:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
I also tried:
20:39:40:~/Documents/Python_Projects/pword_proj % pip install virtualenv
and I get this error:
zsh: command not found: pip
I am not sure what I am doing incorrect here. Thanks