Trying to download dateutil to run a python script.
I've tried installing it via pip and pip3, but it appears to be calling the wrong python environment.
Used: pip install python-dateutil==1.4
and got the following:
ERROR: Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.pyc', '/private/var/folders/ff/f4w7vg7x3q9fm911gypt4h8r0000gn/T/pip-uninstall-SLYbJ2/parser.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/ff/f4w7vg7x3q9fm911gypt4h8r0000gn/T/pip-uninstall-SLYbJ2/parser.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.py', '/private/var/folders/ff/f4w7vg7x3q9fm911gypt4h8r0000gn/T/pip-uninstall-SLYbJ2/relativedelta.py', "[Errno 1] Operation not permitted: '/private/var/folders/ff/
then ran pip3 install python-dateutil==1.4
and got no such module or directory
then ran pip install -U pip
Still unsuccessful