It happens because somewhat the atom
package is not in the path. This could be due to several reasons depending on your Python installation method. This quick workaround worked for me... Just add this two lines...
import sys sys.path.append('/usr/local/lib/python2.7/site-packages/')
...on top of this duplicity's gdocsbackend.py
file:
/usr/local/Cellar/duplicity/0.6.25/libexec/lib/python2.7/site-packages/duplicity/backends/gdocsbackend.py
This way you are telling the python file to look for the atom
module in the /usr/local/lib/python2.7/site-packages/
folder, where it really is.
If you want You can double-check where your atom module is located... Open Python's REPL and type:
> import atom > print atom.__file__
You'll get the location that you need to append to your path...
Hope it helps