I have installed Python 2.7 on my Mac, but I am unable to install packages using pip2.7 install. Any time I try to install a package in the terminal, for example,
pip2.7 install pandas
I get the OSError:
OSError: [Errno 1] Operation not permitted:
I also have Python 3.6 installed and I am able to install packages for that version, but I have some work that needs to be done in 2.7 and I want to be able to run my script and ensure that it works in 2.7.