My console:
desarrollador@desarrollador-HP-14-Notebook-PC1:~$ pip freeze Exception: Traceback (most recent call last): File \"/usr/lib/python2.7/dist
I found the solution at this link.
pip install setuptools==7.0