Why is PIP raising an AssertionError on pip freeze?

前端 未结 7 518
耶瑟儿~
耶瑟儿~ 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:05

    Reason: The python-pip package in Ubuntu 12.04 is seriously outdated and has some bugs with certain package names (as I can see) and cannot parse them correctly.

    Solution: install a newer version of pip, via easy_install.

提交回复
热议问题