5月 15 2014 Python | pypi安装提示error invalid command 'egg_info' 一、简介 之前在安装psdash老是报错,找了很久原因才发现时python的包管理工具setuptools版本太旧导致的,升级完之后就没问题了 /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'extras_require'warnings.warn(msg)/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'zip_safe'... 二、升级setuptools pip install --upgrade setuptools