在我安装 Ubuntu 12.04 后,我的自动备份一直无法工作。我收到它因未知错误而失败的消息,并显示以下输出:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1411, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1404, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1255, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 999, in ProcessCommandLine
globals.backend = backend.get_backend(args[0])
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 158, in get_backend
return _backends[pu.scheme](pu)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 49, in __init__
import boto
ImportError: No module named boto
我从 10.10 开始没有做任何更改。指定的备份位置是我的 Amazon S3 帐户。我尝试用 Google 搜索,但找不到任何有用的信息。
谢谢!
答案1
您需要安装 boto 包:
sudo apt-get install python-boto