N00b Altert.
So I tried to call "import requests" through Python and got the error:
>>> import requests
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named requests
I do not think I have pip installed correctly or at all?
easy_install requests returns: The following error occurred while trying to add or remove files in the installation directory:
[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-6488.pth'
The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:
/Library/Python/2.7/site-packages/
Any help on this would be greatly appreciated... I have seen the other posts with users mentioning the same but it doesn't seem to help.
sudo pip install requestsbrew install pip, thenpip install requests?brew install pipresponse:Error: No available formula with the name "pip" Homebrew provides pip via:brew install python. However you will then have two Pythons installed on your Mac, so alternatively you can install pip via the instructions at: https://pip.readthedocs.io/en/stable/installing/python -m pip install requests?No module named pip