I have been having issues installing pandas for Python. I use python in both IDLE and terminal and my computer is a Mac if this is relevant. I have tried the following commands:
sudo apt-get install python-pip
pip install pandas
pip install pip
$ pip install pandas
import pandas as pd
and I always receive error messages. What do I need to do to get this to work?
Note: I am very new to python.
Error messages in IDLE:
SyntaxError: invalid syntax
Error messages in terminal:
[me] is not in the sudoers file. This incident will be reported.
zsh: command not found: pip
zsh: command not found: pip
zsh: command not found: $
zsh: command not found: import