I am trying to install pandas using pip on Python 2.7.10. However, when I execute pip install pandas
I get the following error:
Could not install packages due to an EnvironmentError: [Errno 2] No
such file or directory: '/Library/Python/2.7/site-packages/idna-
2.7.dist-info/METADATA'
Prior to this I have never used python or install any python packages on this system before. The python is pre-installed on the MacBook. Any advice on how to solve this?