在新的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
答案 0 :(得分:1)
你错过了argparse包。 wal-e正在寻找0.8或更高的版本。
pip install argparse