Python 无法安装服务\u标识模块
当我尝试命令Python 无法安装服务\u标识模块,python,pip,python-module,Python,Pip,Python Module,当我尝试命令pip install service\u identity时,它返回以下错误 Downloading/unpacking service-identity Downloading service_identity-14.0.0-py2.py3-none-any.whl Cleaning up... Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/
pip install service\u identity
时,它返回以下错误
Downloading/unpacking service-identity
Downloading service_identity-14.0.0-py2.py3-none-any.whl
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1259, in prepare_files
)[0]
IndexError: list index out of range
我也尝试过sudo,但返回了相同的错误。如何解决此问题?您使用的是什么版本的pip?刚刚成功安装在我的机器上。您使用的是哪个版本的python、pip?我刚刚用
easy\u install
命令成功安装了它。非常感谢。all@AnonymousPlatypus,pip没有理由不这么做work@PadraicCunningham对不起,我不知道为什么:(