Why is PIP raising an AssertionError on pip freeze?

前端 未结 7 504
耶瑟儿~
耶瑟儿~ 2020-12-14 14:32

My console:

desarrollador@desarrollador-HP-14-Notebook-PC1:~$ pip freeze  
Exception:  
Traceback (most recent call last):  
  File \"/usr/lib/python2.7/dist         


        
7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-14 15:11

    The problem is due to an old version of pip being installed. Run the following command to install a new version of pip:

    sudo easy_install -U pip. 
    

提交回复
热议问题