Traceback (most recent call last) error PIP

Hello guys
I have an issue when i try to use pip install or to see pip status it gives me this error

Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
load_entry_point(‘pip==21.0.1’, ‘console_scripts’, ‘pip’)()
File “/usr/lib/python2.7/site-packages/”, line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/site-packages/”, line 2566, in load_entry_point
return ep.load()
File “/usr/lib/python2.7/site-packages/”, line 2260, in load
entry = import(self.module_name, globals(),globals(), [‘name’])
File “/usr/lib/python2.7/site-packages/pip/_internal/cli/”, line 60
sys.stderr.write(f"ERROR: {exc}")

the problem is with my python2 the pythone3 is working fine but my default pip is using python2
How can i fix this please?

Which repo did you get the code from?

Kindly provide me with the link.