I am attempting to install python and Django. I am getting this error every time I attempt to install anything with pip. All I have done right now is
brew install python
Then, I used:
sudo easy_install pip
After when doing the command below I get the sytanx error.
Stefanoss-MBP:javaTutor fetz$ python -m pip install Django
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Library/Python/2.7/site-packages/pip-21.0.1-py2.7.egg/pip/__main__.py", line 21, in <module>
from pip._internal.cli.main import main as _main
File "/Library/Python/2.7/site-packages/pip-21.0.1-py2.7.egg/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^