安装wal-e时出现Centos 6.5错误

时间:2015-06-12 14:49:27

标签: python pip

在新的CentOS 6.5安装(Python 2.6.6)上,成功执行pip install wal-e后,运行wal-e会出现以下错误:

# wal-e
Traceback (most recent call last):
  File "/usr/bin/wal-e", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse>=0.8

如果我pip list argparse我得到了很多东西,包括argparse 1.3.0

1 个答案:

答案 0 :(得分:1)

你错过了argparse包。 wal-e正在寻找0.8或更高的版本。

pip install argparse

另见: pip broke. how to fix DistributionNotFound error?