It wont let me install matplotlib

Here is my error message:
Traceback (most recent call last):
File “/Users/thomaspauljamesmonahan/PycharmProjects/pythonProject6/”, line 2, in
import matplotlib.pyplot as plt
File “/Users/thomaspauljamesmonahan/Desktop/pythonProject4/lib/python2.7/site-packages/matplotlib/”, line 115, in
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File “/Users/thomaspauljamesmonahan/Desktop/pythonProject4/lib/python2.7/site-packages/matplotlib/backends/”, line 63, in pylab_setup
[backend_name], 0)
File “/Users/thomaspauljamesmonahan/Desktop/pythonProject4/lib/python2.7/site-packages/matplotlib/backends/”, line 17, in
from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install and replace the use of ‘python’ with ‘pythonw’. See ‘Working with Matplotlib on OSX’ in the Matplotlib FAQ for more information.

help? I use a mac catalina and im completely illiterate when it comes to computers and i need someone to walk me through the steps to fix this. Thanks.

You are trying to install a very old python 2 version of matplotlib. Suggest you try and install python3 and latest matplotlib