pip is error,TypeError: __call__() takes exactly 2 arguments (1 given)

[root@location src]# pip
Traceback (most recent call last):
File "/usr/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 72, in <module>
import packaging.requirements
File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)

Use the following command to upgrade pip, which has the bug fixed:

python -m pip install --upgrade --force pip
pip install setuptools==33.1.1

results for ""

    No results matching ""