擅长:python、mysql、java
<p>Duplicy0.7.10是一个Python2脚本。如你所见:</p>
<pre><code>➜ ~ head $(which duplicity)
#!/usr/bin/env python2
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# duplicity Encrypted bandwidth efficient backup
# Version 0.7.10 released August 20, 2016
#
# Copyright 2002 Ben Escoto <ben@emerose.org>
# Copyright 2007 Kenneth Loafman <kenneth@loafman.com>
#
# This file is part of duplicity.
</code></pre>
<p>所以确保运行python2而不是python3。在</p>