huangayun
人间本味
2015-11-17 10:11

安装python setuptools出错

1
  • setuptools

python ez_setup.py
安装setuptools出错:
提示如下:
Traceback (most recent call last):
File "setup.py", line 169, in
dist = setuptools.setup(**setup_params)
File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
setup_distribution = dist = klass(attrs)
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/setuptools/dist.py", line 272, in __init
_
Distribution._init__(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalize_options()
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/setuptools/dist.py", line 326, in finalize_options
ep.require(installer=self.fetch_build_egg)
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/__init__.py", line 2385, in require
reqs = self.dist.requires(self.extras)
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/__init__.py", line 2617, in requires
dm = self._dep_map
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/__init__.py", line 2606, in dep_map
if invalid_marker(marker):
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/
_init__.py", line 1424, in is_invalid_marker
cls.evaluate_marker(text)
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/__init__.py", line 1549, in markerlib_evaluate
env = cls._translate_metadata2(_markerlib.default_environment())
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/
_init__.py", line 1537, in translate_metadata2
for key, value in env
File "/home/huangay/samba/trunkcode/sita_trunk/core/tplayer/src/package/apps/drm_plugin/3rds/widevine/3rds/setuptools/setuptools-18.5/pkg_resources/
_init__.py", line 1536, in
(key.replace('.', '_'), value)
ValueError: too many values to unpack

大神们帮忙分析分析啊

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答