gpt4 book ai didi

python - Centos 6.5安装wal-e报错

转载 作者:太空宇宙 更新时间:2023-11-04 05:49:46 24 4
gpt4 key购买 nike

在全新安装的 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

最佳答案

您缺少 argparse 包。 wal-e 正在寻找 0.8 或更高版本。

pip install argparse

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

关于python - Centos 6.5安装wal-e报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30806017/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com