Ubuntu中pip命令无法安装第三方包,也无法进行升级

Ubuntu中pip命令无法安装第三方包,也无法进行升级,试了很多方法都不行,一直报同样的错误
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_caros/pip

看下这个链接 https://blog.csdn.net/qq_37110648/article/details/86982877 https://blog.csdn.net/qq_37110648/article/details/86982877