Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b2PICB/unroll/

使用pip安装时出现错误:


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b2PICB/unroll/


查看原因,大概是因为没有安装setuptools,解决方法:

pip install --upgrade setuptools


但是安装setuptools后仍然出现同样的错误,一种可能的原因是没有安装ez_setup:


pip install ez_setup

pip install unroll


如果还没成功,那么可能是pip或upgrade 没有安装成功setuptools,使用easy_install 安装:


easy_install -U setuptools


之后安装unroll:


pip install unroll

你可能感兴趣的:(编程语言)