python - Pydrive backend not working with duply -


i'm unable duply / duplicity work pydrive on mac , can't seem work out what's going wrong. i'm getting error

--- start running command bkp @ 10:38:21.000 --- backendexception: pydrive backend requires pydrive installation.  please read manpage setup details. exception: no module named httplib2 10:38:25.000 task 'bkp' failed exit code '23'. --- finished state failed 'code 23' @ 10:38:25.000 - runtime 00:00:04.000 --- 

i'd found question answer still unable work. i've followed advice still no luck. i've got pydrive config file in local duply directory , permissions set correctly.

$ ls -la total 48 drwx------  8 enwhat  staff   272b 26 mar  2016 . drwx------  3 enwhat  staff   102b 16 mar  2016 .. -rw-------  1 enwhat  staff   7.6k 20 mar  2016 conf -rw-------  1 enwhat  staff   462b 18 mar  2016 exclude -rw-------  1 enwhat  staff   303b 26 mar  2016 gdrive -rw-------  1 enwhat  staff   858b 10 sep  2016 gdrive.cache -rw-------  1 enwhat  staff     0b 18 mar  2016 post -rw-------  1 enwhat  staff   135b 26 mar  2016 pre $ grep 'google' ./conf export google_drive_settings=./gdrive 

both python, duply , pip installed via homebrew , i'm running 10.12.6. reference here's info on duply / duplicity , associated packages.

$ duply -v   duply version 2.0.1   (http://duply.net)    using installed duplicity version 0.7.13.1, python 2.7.13, gpg 2.2.0 (home: /users/enwhat/.gnupg), awk 'awk version 20070501', grep 'grep (bsd grep) 2.5.1-freebsd', bash '4.4.12(1)-release (x86_64-apple-darwin16.3.0)'. 

edit: 10/09/17

after little digging suspect maybe due 2x version of python 2.7 being installed.

pip reporting pydrive , httplib2 being installed via brew. can't seem workout why duply isn't using httplib2 installed via pip. both python's in path

$ pip list | grep -i 'http' deprecation: default format switch columns in future. can use --format=(legacy|columns) (or define format=(legacy|columns) in pip.conf under [list] section) disable warning. httplib2 (0.10.3)  $ pip list | grep -i 'pydrive' deprecation: default format switch columns in future. can use --format=(legacy|columns) (or define format=(legacy|columns) in pip.conf under [list] section) disable warning. pydrive (1.3.1)  $ -a python /usr/local/opt/python/libexec/bin/python /usr/bin/python  $ find /usr/local | grep -i 'httplib2' /usr/local/lib/python2.7/site-packages/httplib2 /usr/local/lib/python2.7/site-packages/httplib2/__init__.py /usr/local/lib/python2.7/site-packages/httplib2/__init__.pyc /usr/local/lib/python2.7/site-packages/httplib2/cacerts.txt /usr/local/lib/python2.7/site-packages/httplib2/iri2uri.py /usr/local/lib/python2.7/site-packages/httplib2/iri2uri.pyc /usr/local/lib/python2.7/site-packages/httplib2/socks.py /usr/local/lib/python2.7/site-packages/httplib2/socks.pyc /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/description.rst /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/installer /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/metadata /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/metadata.json /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/record /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/top_level.txt /usr/local/lib/python2.7/site-packages/httplib2-0.10.3.dist-info/wheel 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -