I installed python3 using homebrew but it didn't install pip3 or should I say it installed but it doesn't recognize the command ?
Here is what I did:
brew install python3
This installed python3 but threw an error at the end saying it couldn't link python3 and prompted me to run
brew link python3
to link the installation but this throws another error:
Linking /usr/local/Cellar/python3/3.6.3... Error: Permission denied @ dir_s_mkdir - /usr/local/lib
Does anyone know how solve this ? When I run:
brew info python3
It says:
==> Caveats
Pip, setuptools, and wheel have been installed. To update them
pip3 install --upgrade pip setuptools wheel
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/usr/local/lib/python3.6/site-packages
See: https://docs.brew.sh/Homebrew-and-Python.html
Which makes me think pip3 is installed but not recognized. Any help is appreciated.
INFO:
OS => MacOS High Sierra 10.13.1
pip3 install twilio
-bash: pip3: command not found
pip3
aspip
picks up your currently active version of python depending on your environment.pip3
is here/usr/local/bin/pip3